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

Function epochs_empty

mne/conftest.py:459–465  ·  view source on GitHub ↗

Get empty epochs from mne.io.tests.data.

()

Source from the content-addressed store, hash-verified

457
458@pytest.fixture()
459def epochs_empty():
460 """Get empty epochs from mne.io.tests.data."""
461 epochs = _get_epochs(meg=True, eeg=True).load_data()
462 with pytest.warns(RuntimeWarning, match="were dropped"):
463 epochs.drop_bad(reject={"mag": 1e-20})
464
465 return epochs
466
467
468@pytest.fixture(scope="session", params=[testing._pytest_param()])

Callers

nothing calls this directly

Calls 3

drop_badMethod · 0.80
_get_epochsFunction · 0.70
load_dataMethod · 0.45

Tested by

no test coverage detected