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

Function _get_data

mne/preprocessing/tests/test_xdawn.py:36–44  ·  view source on GitHub ↗

Get data.

()

Source from the content-addressed store, hash-verified

34
35
36def _get_data():
37 """Get data."""
38 raw = read_raw_fif(raw_fname, verbose=False, preload=True)
39 raw.set_eeg_reference(projection=True)
40 events = read_events(event_name)
41 picks = pick_types(
42 raw.info, meg=False, eeg=True, stim=False, ecg=False, eog=False, exclude="bads"
43 )[::8]
44 return raw, events, picks
45
46
47def test_xdawn():

Callers 3

test_xdawn_fitFunction · 0.70
test_XdawnTransformerFunction · 0.70

Calls 4

read_raw_fifFunction · 0.90
read_eventsFunction · 0.90
pick_typesFunction · 0.90
set_eeg_referenceMethod · 0.80

Tested by

no test coverage detected