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

Class Epochs

mne/epochs.py:3449–3698  ·  view source on GitHub ↗

Epochs extracted from a Raw instance. Parameters ---------- %(raw_epochs)s .. note:: If ``raw`` contains annotations, ``Epochs`` can be constructed around ``raw.annotations.onset``, but note that the durations of the annotations are ignored i

Source from the content-addressed store, hash-verified

3447
3448@fill_doc
3449class Epochs(BaseEpochs):
3450 """Epochs extracted from a Raw instance.
3451
3452 Parameters
3453 ----------
3454 %(raw_epochs)s
3455
3456 .. note::
3457 If ``raw`` contains annotations, ``Epochs`` can be constructed around
3458 ``raw.annotations.onset``, but note that the durations of the annotations
3459 are ignored in this case.
3460 %(events_epochs)s
3461
3462 .. versionchanged:: 1.7
3463 Allow ``events=None`` to use ``raw.annotations.onset`` as the source of
3464 epoch times.
3465 %(event_id)s
3466 %(epochs_tmin_tmax)s
3467 %(baseline_epochs)s
3468 Defaults to ``(None, 0)``, i.e. beginning of the data until
3469 time point zero.
3470 %(picks_all)s
3471 preload : bool
3472 %(epochs_preload)s
3473 %(reject_epochs)s
3474 %(flat)s
3475 %(proj_epochs)s
3476 %(decim)s
3477 %(epochs_reject_tmin_tmax)s
3478 %(detrend_epochs)s
3479 %(on_missing_epochs)s
3480 %(reject_by_annotation_epochs)s
3481 %(metadata_epochs)s
3482
3483 .. versionadded:: 0.16
3484 %(event_repeated_epochs)s
3485 %(verbose)s
3486
3487 Attributes
3488 ----------
3489 %(info_not_none)s
3490 %(event_id_attr)s
3491 ch_names : list of string
3492 List of channel names.
3493 %(selection_attr)s
3494 preload : bool
3495 Indicates whether epochs are in memory.
3496 drop_log : tuple of tuple
3497 A tuple of the same length as the event array used to initialize the
3498 Epochs object. If the i-th original event is still part of the
3499 selection, drop_log[i] will be an empty tuple; otherwise it will be
3500 a tuple of the reasons the event is not longer in the selection, e.g.:
3501
3502 - 'IGNORED'
3503 If it isn't part of the current subset defined by the user
3504 - 'NO_DATA' or 'TOO_SHORT'
3505 If epoch didn't contain enough data names of channels that exceeded
3506 the amplitude threshold

Calls

no outgoing calls

Tested by 15

_get_epochsFunction · 0.72
test_field_map_ctfFunction · 0.72
test_verbose_methodFunction · 0.72
test_xdawn_fitFunction · 0.72
test_XdawnTransformerFunction · 0.72
_load_dataFunction · 0.72
test_fix_stim_artifactFunction · 0.72
test_csd_degenerateFunction · 0.72
test_csd_epochsFunction · 0.72