Source code for Brainprints: identifying individuals from magnetoencephalograms, Shenghao Wu, Aaditya Ramdas, Leila Wehbe. Communications Biology, 2022, in press. For the most recent version, see: https://www.biorxiv.org/content/10.1101/2020.06.18.159913v3
- preprocessing.ipynb: code for preprocessing FST data using mne. For other datasets, the preprocessing pipeline can be found in the Methods section and Supplementary Information A. Public datasets (HCP, MEG-EEG) have already been preprocessed.
- featurization.ipynb: functions to create the three features (sp, tp, fq) for the FST, HCP, and MEG/EEG (tp & fq only) datasets. We omitt the code for SEN because it is identical to that of FST.
- figure.ipynb: code for making the major figures in the manuscirpt. Omitting the code for SEN since it is identical to that of FST and the dataset has not been made public.
Any question can be sent to [email protected].