Anonymize¶
Bases: BaseClass
Class for anonymizing raw or epoched data.
Applies MNE's built-in anonymization (Raw.anonymize()) to the provided data object.
MNE-functions used: mne.io.Raw.anonymize
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
raw
|
Raw
|
Input data to anonymize. |
required |
daysback
|
int | Str
|
Number of days to subtract from all dates. Can be either integer or the string 'random', in which case the program selects a random number bewteen 1 and 100. |
required |
experimenter
|
str
|
Name of the experimenter to store in the anonymized metadata. |
None
|
participant_id
|
str
|
Participant identifier to store in the anonymized metadata. |
None
|
**kwargs
|
Additional keyword arguments passed to the underlying MNE
|
{}
|
Attributes:
| Name | Type | Description |
|---|---|---|
processed |
Raw
|
Anonymized output data. |
Example settings for config file¶
Example settings in correct format for the config file.