, daysback=None, keep_his=False, verbose=None)[source]

Anonymize measurement information in place.

infodict, instance of Info

Measurement information for the dataset.

daysbackint | None

Number of days to subtract from all dates. If None (default) the date of service will be set to Jan 1ˢᵗ 2000. This parameter is ignored if info['meas_date'] is None.


If True his_id of subject_info will NOT be overwritten. Defaults to False.


This could mean that info is not fully anonymized. Use with caution.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

infoinstance of Info

Measurement information for the dataset.


Removes potentially identifying information if it exist in info. Specifically for each of the following we use:

  • meas_date, file_id, meas_id

    A default value, or as specified by daysback.

  • subject_info

    Default values, except for ‘birthday’ which is adjusted to maintain the subject age.

  • experimenter, proj_name, description

    Default strings.

  • utc_offset


  • proj_id


  • proc_history

    Dates use the meas_date logic, and experimenter a default string.

  • helium_info, device_info

    Dates use the meas_date logic, meta info uses defaults.

If info['meas_date'] is None, it will remain None during processing the above fields.

Operates in place.