MCPcopy
hub / github.com/mne-tools/mne-python / short_raw

Function short_raw

mne/preprocessing/tests/test_ssp.py:26–31  ·  view source on GitHub ↗

Create a short, picked raw instance.

()

Source from the content-addressed store, hash-verified

24
25@pytest.fixture()
26def short_raw():
27 """Create a short, picked raw instance."""
28 raw = read_raw_fif(raw_fname).crop(0, 7).pick(["meg", "eeg", "eog"])
29 raw.pick(raw.ch_names[:306:10] + raw.ch_names[306:]).load_data()
30 raw.info.normalize_proj()
31 return raw
32
33
34@pytest.mark.parametrize("average", (True, False))

Callers

nothing calls this directly

Calls 5

read_raw_fifFunction · 0.90
normalize_projMethod · 0.80
pickMethod · 0.45
cropMethod · 0.45
load_dataMethod · 0.45

Tested by

no test coverage detected