MNE BIDS MEG Anonymization: Difference between revisions

From MEG Core
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
UNDER CONSTRUCTION
UNDER CONSTRUCTION


==== Introduction to Import/Upload Process ====
= Introduction to Import/Upload Process =
Datasets must be organized prior to anonymization. <br>
Datasets must be organized prior to anonymization. <br>
Several organizational options will be provided to assist in recognizing the datasets. <br>
Several organizational options will be provided to assist in recognizing the datasets. <br>
Line 7: Line 7:




==== Setup Container ====
= Setup Container =
#This installs mne_docker / mne-bids / mne-bids-pipeline
#This installs mne_docker / mne-bids / mne-bids-pipeline
git clone git@tako:mne_singularity
git clone git@tako:mne_singularity
Line 17: Line 17:




==== Create Head Surface to view anonymization ====
= Create Head Surface to view anonymization =
#Create
#Create
enigma/import/import_mri.sh
enigma/import/import_mri.sh




==== Data Curating before anonymization ====
= Data Curating before anonymization =


=== OPTION 1 ===
== OPTION 1 ==
Organize all data into the same folder.
Organize all data into the same folder.
All MRIs must be of .nii or .mgz
All MRIs must be of .nii or .mgz

Revision as of 09:17, 31 August 2021

UNDER CONSTRUCTION

Introduction to Import/Upload Process

Datasets must be organized prior to anonymization.
Several organizational options will be provided to assist in recognizing the datasets.
There are a variety of options ranging from high levels of renaming files to high level of search expressions.


Setup Container

 #This installs mne_docker / mne-bids / mne-bids-pipeline
 git clone git@tako:mne_singularity
 cd mne_singularity 
 sudo singularity build singularity_build.sif singularity_build.def 

Link freesurfer or build from singularity:

 ln -s PATH_TO_FREESURFER ./freesurfer


Create Head Surface to view anonymization

 #Create 
 enigma/import/import_mri.sh


Data Curating before anonymization

OPTION 1

Organize all data into the same folder. All MRIs must be of .nii or .mgz All MEG datasets must be single files or directories: .ds, .fif, .sqd, 4D-dataset (?)

 MRIs and MEG datasets must have the same prefix.   
 EG - Subj1.ds  Subj1.nii   OR  LastName_FirstName.fif  LastName_FirstName.nii   OR 




For admin setup

 # From the mne docker website -- https://github.com/mne-tools/mne-docker
 singularity pull docker://ghcr.io/mne-tools/mne-python-jupyter:main