Skip to content

Metadata

Bases: BaseClass

Class for adding metadata to mne.Epochs objects.

Adds metadata to the input data using MNE's built-in metadata attribute (for Epochs).

Parameters:

Name Type Description Default
raw Epochs

Input data.

required
epochs_metadata str

Path to a CSV file containing the metadata for the epochs. Each row corresponds to one epoch.

required

Attributes:

Name Type Description
processed Epochs

Output data with added metadata.

Example settings for config file

Example settings in correct format for the config file.

Metadata:
  _biopap_module: <class 'biopap.modules.metadata.Metadata>
  epochs_metadata: /path/to/your/epochs_metadata.csv