Skip to content

anonymize also sex and hand #8130

Closed

Description

@agramfort

anonymize with keep_his False keeps what's in: raw.info['subject_info']
which contains hand and sex for example.

Should we remove these info with keep_his=False or should we introduce another parameter?

Activity

  1. cbrnr commented on Aug 19, 2020

    @cbrnr
    Contributor

    What does "his" mean?

  2. larsoner commented on Aug 19, 2020

    @larsoner
    Member

    Thoughts @bloyl ?

  3. agramfort commented on Aug 19, 2020

    @agramfort
    SponsorMemberAuthor
  4. bloyl commented on Aug 20, 2020

    @bloyl
    Contributor
  5. agramfort commented on Aug 21, 2020

    @agramfort
    SponsorMemberAuthor
  6. added this to the 0.21 milestone on Aug 24, 2020
  7. removed this from the 0.21 milestone on Sep 9, 2020
  8. added this to the 0.23 milestone on Feb 14, 2021
  9. Falach commented on Mar 15, 2021

    @Falach
    Contributor

    I'll take this one

  10. agramfort commented on Mar 16, 2021

    @agramfort
    SponsorMemberAuthor

    do we know what other software are doing?

    @ftadel @robertoostenveld are brainstorm or fieldtrip removing handness and gender when anonymizing?

  11. robertoostenveld commented on Mar 16, 2021

    @robertoostenveld
    Contributor
  12. ftadel commented on Mar 17, 2021

    @ftadel

    In Brainstorm, we don't store (yet) any subject-related meta-data beyond ID and acquisition date. So the .tsv files generated when exporting a Brainstorm database as a BIDS dataset do not include these fields.

    However, the info could remain the in headers of the recordings. Some files can be copied as is to the BIDS export, and propagate sex/handedness info. The anonymization of the file headers is not part (yet) of the export process, it remains a separate optional step (for now).

    The only BIDS-compatible file format (exported by Brainstorm, ie. excluding the EEGLAB .set) that can store this information is FIF.
    Before the export to BIDS, the user can call this function fiff_anonymizer.m (from a script or from the GUI), which by default removes both sex and handedness:
    https://github.com/brainstorm-tools/brainstorm3/blob/master/external/other/fiff_anonymizer.m

  13. agramfort commented on Mar 17, 2021

    @agramfort
    SponsorMemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions