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

Function read_epochs

mne/epochs.py:4257–4274  ·  view source on GitHub ↗

Read epochs from a fif file. Parameters ---------- %(fname_epochs)s %(proj_epochs)s preload : bool If True, read all epochs from disk immediately. If ``False``, epochs will be read on demand. %(verbose)s Returns ------- epochs : instance of Epoch

(fname, proj=True, preload=True, verbose=None)

Source from the content-addressed store, hash-verified

4255
4256@verbose
4257def read_epochs(fname, proj=True, preload=True, verbose=None) -> "EpochsFIF":
4258 """Read epochs from a fif file.
4259
4260 Parameters
4261 ----------
4262 %(fname_epochs)s
4263 %(proj_epochs)s
4264 preload : bool
4265 If True, read all epochs from disk immediately. If ``False``, epochs
4266 will be read on demand.
4267 %(verbose)s
4268
4269 Returns
4270 -------
4271 epochs : instance of Epochs
4272 The epochs.
4273 """
4274 return EpochsFIF(fname, proj, preload, verbose)
4275
4276
4277class _RawContainer:

Callers 15

test_csd_epochsFunction · 0.90
test_anonymizeFunction · 0.90
test_channel_name_limitFunction · 0.90
test_epochs_io_projFunction · 0.90
test_epochs_io_preloadFunction · 0.90
test_split_many_resetFunction · 0.90
test_epochs_projFunction · 0.90
test_reject_epochsFunction · 0.90
test_access_by_nameFunction · 0.90
test_array_epochsFunction · 0.90
test_metadataFunction · 0.90
test_save_complex_dataFunction · 0.90

Calls 1

EpochsFIFClass · 0.85

Tested by 15

test_csd_epochsFunction · 0.72
test_anonymizeFunction · 0.72
test_channel_name_limitFunction · 0.72
test_epochs_io_projFunction · 0.72
test_epochs_io_preloadFunction · 0.72
test_split_many_resetFunction · 0.72
test_epochs_projFunction · 0.72
test_reject_epochsFunction · 0.72
test_access_by_nameFunction · 0.72
test_array_epochsFunction · 0.72
test_metadataFunction · 0.72
test_save_complex_dataFunction · 0.72