mne.
AcqParserFIF
(info)[source]¶Parser for Elekta data acquisition settings.
This class parses parameters (e.g. events and averaging categories) that
are defined in the Elekta TRIUX/VectorView data acquisition software (DACQ)
and stored in info['acq_pars']
. It can be used to reaverage raw data
according to DACQ settings and modify original averaging settings if
necessary.
Parameters: | info : Info
|
---|
See also
mne.io.Raw.acqparser
Notes
Any averaging category (also non-active ones) can be accessed by indexing
as acqparserfif['category_name']
.
Attributes
categories |
Return list of averaging categories ordered by DACQ index. |
events |
Return events ordered by DACQ index. |
reject | (dict) Rejection criteria from DACQ that can be used with mne.Epochs. Note that mne does not support all DACQ rejection criteria (e.g. spike, slope). |
flat | (dict) Flatness rejection criteria from DACQ that can be used with mne.Epochs. |
acq_dict | (dict) All DACQ parameters. |
Methods
__getitem__ (item) |
Return an averaging category, or list of categories. |
__hash__ () <==> hash(x) |
|
__len__ () |
Return number of averaging categories marked active in DACQ. |
get_condition (raw[, condition, …]) |
Get averaging parameters for a condition (averaging category). |
__getitem__
(item)[source]¶Return an averaging category, or list of categories.
Parameters: | item : str or list of str
|
---|---|
Returns: | conds : dict or list of dict, each with following keys:
|
__hash__
() <==> hash(x)¶categories
¶Return list of averaging categories ordered by DACQ index.
Only returns categories marked active in DACQ.
events
¶Return events ordered by DACQ index.
Only returns events that are in use (referred to by a category).
get_condition
(raw, condition=None, stim_channel=None, mask=None, uint_cast=None, mask_type=’and’, delayed_lookup=True)[source]¶Get averaging parameters for a condition (averaging category).
Output is designed to be used with the Epochs class to extract the corresponding epochs.
Parameters: | raw : Raw object
condition : None | str | dict | list of dict
stim_channel : None | string | list of string
mask : int | None
uint_cast : bool
mask_type: ‘and’ | ‘not_and’
delayed_lookup: bool
|
---|---|
Returns: | conds_data : dict or list of dict, each with following keys:
|