Difference between revisions of "ECP MEG Data Folders"

From MEG Wiki
Jump to navigation Jump to search
(RAW and tSSS)
(Cleaning)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==At the MEG lab:==
 
==At the MEG lab:==
 
  Data is acquired to the MEG_acq/ecp/ folder
 
  Data is acquired to the MEG_acq/ecp/ folder
  Data is tSSS processed and organized into raw and tSSS folders
+
  Data is tSSS processed and organized into raw and tSSS folders (the format of the data can be seen below)
 +
[[file: RAW format.PNG | 300px]]
 
  Data is uploaded to to the RCC using scp (/rcc/stor1/projects/ECP/MEG/MEG_Orig)
 
  Data is uploaded to to the RCC using scp (/rcc/stor1/projects/ECP/MEG/MEG_Orig)
  Data is copied into /rcc/stor1/projects/ECP/MEG/MEG_Work
+
  Data is copied into /rcc/stor1/projects/ECP/MEG/MEG_Work for further processing
  
 
==Folder Layout /rcc/stor1/projects/ECP/MEG/MEG_Work==
 
==Folder Layout /rcc/stor1/projects/ECP/MEG/MEG_Work==
  All subjects have a folder with both the anatomy, RAW, tSSS, Preprocessed, and Processed Data
+
  All subjects have a folder with the following folders: Anatomy, RAW, tSSS, Process_*DataType*
 
  [[file:ECP Subject.PNG|200px]]
 
  [[file:ECP Subject.PNG|200px]]
  
Line 20: Line 21:
 
  [[file: RAW format.PNG | 300px]]
 
  [[file: RAW format.PNG | 300px]]
  
====Initialized=====
+
===Processing===
  Initialization creates a subject pandas dataframe saved as a csv file in the aProjects folder at the top of the MEG Project folder
+
====Initialization - Subject Dataframe ====
  Preproc Initialization creates a folder for each data type and creates a link to the original dataset
+
  init_subject_dataframe - initialization creates a subject pandas dataframe saved as a csv file in the aProjects folder at the top of the MEG Project folder
 +
  [[file:AProject Folder.png|400px]]
 +
<br>
 +
The Contents of the subject dataframe are stored in a .csv file which can be opened using LibreOffice
 +
The data file is stored in the row, and all of the documented processing steps are the columns
 +
[[file:Subject DataFrame.PNG|1400px]]
 +
 
 +
====Initialization - Subject Processing Folders====
 +
init_subject_process - A process folder is created for each dataset type (multiple runs are copied into each folder)
 +
The _tsss.fif files are links to the tSSS folder.  If these folders are deleted, it will not affect the data in the tSSS folder
 +
[[file:Process setup.png|300px]]
 +
 
 +
=====Cleaning=====
 
  Cleaning (baddata pipeline) performs ICA removal of heartbeat and eyeblink artifact that is correlated to EOG and ECG electrodes at a threshold of (r=???)
 
  Cleaning (baddata pipeline) performs ICA removal of heartbeat and eyeblink artifact that is correlated to EOG and ECG electrodes at a threshold of (r=???)
 +
The processing creates a folder called Process_*DataType*/Clean with the output of the baddata analysis
 
  [[file:Clean data.png|400px]]
 
  [[file:Clean data.png|400px]]
 
==RCC preprocessing==
 
The data is then copied to a folder /rcc/stor1/projects/ECP/MEG/MEG_Work
 
[[image:Folder layout.png]]
 

Latest revision as of 20:19, 10 June 2019

At the MEG lab:

Data is acquired to the MEG_acq/ecp/ folder
Data is tSSS processed and organized into raw and tSSS folders (the format of the data can be seen below)
RAW format.PNG
Data is uploaded to to the RCC using scp (/rcc/stor1/projects/ECP/MEG/MEG_Orig)
Data is copied into /rcc/stor1/projects/ECP/MEG/MEG_Work for further processing

Folder Layout /rcc/stor1/projects/ECP/MEG/MEG_Work

All subjects have a folder with the following folders: Anatomy, RAW, tSSS, Process_*DataType*
ECP Subject.PNG

Anatomy Layout

Typical Freesurfer layout with BEM process performed
The folder is always labelled Anatomy (a hack to make all folders homogeneous and easier to process)
The Anatomy-trans.fif is created during the MNE python coregistration step 
ECP MEG Anatomy.png

Data Layout

RAW and tSSS

The data is labelled with Subjid+_+DataType+_run+RunNumber+_raw.fif 
RAW format.PNG

Processing

Initialization - Subject Dataframe

init_subject_dataframe - initialization creates a subject pandas dataframe saved as a csv file in the aProjects folder at the top of the MEG Project folder
AProject Folder.png

The Contents of the subject dataframe are stored in a .csv file which can be opened using LibreOffice The data file is stored in the row, and all of the documented processing steps are the columns Subject DataFrame.PNG

Initialization - Subject Processing Folders

init_subject_process - A process folder is created for each dataset type (multiple runs are copied into each folder)
The _tsss.fif files are links to the tSSS folder.  If these folders are deleted, it will not affect the data in the tSSS folder
Process setup.png
Cleaning
Cleaning (baddata pipeline) performs ICA removal of heartbeat and eyeblink artifact that is correlated to EOG and ECG electrodes at a threshold of (r=???)
The processing creates a folder called Process_*DataType*/Clean with the output of the baddata analysis
Clean data.png