mne_bids.get_anonymization_daysback¶
-
mne_bids.
get_anonymization_daysback
(raws)[source]¶ Get the group min and max number of daysback necessary for BIDS specs.
Warning
It is important that you remember the anonymization number if you would ever like to de-anonymize but that it is not included in the code publication as that would break the anonymization.
BIDS requires that anonymized dates be before 1925. In order to preserve the longitudinal structure and ensure anonymization, the user is asked to provide the same daysback argument to each call of
write_raw_bids
. To determine the miniumum number of daysback necessary, this function will calculate the minimum number based on the most recent measurement date of raw objects.- Parameters
- raw
mne.io.Raw
|list
ofmne.io.Raw
Subject raw data or list of raw data from several subjects.
- raw
- Returns