- mne_bids.get_anonymization_daysback(raws, verbose=None)#
Get the group min and max number of daysback necessary for BIDS specs.
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 minimum number of daysback necessary, this function will calculate the minimum number based on the most recent measurement date of raw objects.
Subject raw data or list of raw data from several subjects.