-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
#Create MNE transformation matrix from NIMH MEG datasets | ||
Create MNE transformation matrix from NIMH MEG datasets | ||
|
||
## Install: | ||
```pip install git+https://github.com/nih-megcore/nih_to_mne``` | ||
|
||
|
||
## Adds calc_mnetrans.py and bstags.py to the commandline | ||
|
||
``` | ||
usage: calc_mnetrans.py [-h] [-subjects_dir SUBJECTS_DIR] [-anat_json ANAT_JSON] [-tagfile TAGFILE] | ||
[-elec_txt ELEC_TXT] -subject SUBJECT [-afni_mri AFNI_MRI] | ||
[-trans_output TRANS_OUTPUT] -dsname DSNAME [-view_coreg] | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
-subjects_dir SUBJECTS_DIR | ||
Set SUBJECTS_DIR different from the environment variable. If not set this | ||
defaults to os.environ['SUBJECTS_DIR] | ||
-anat_json ANAT_JSON Full path to the BIDS anatomy json file with the NAS,RPA,LPA locations | ||
-tagfile TAGFILE Tagfile generated by bstags.py | ||
-elec_txt ELEC_TXT Electrode text file exported from brainsight | ||
-subject SUBJECT The freesurfer subject id. This folder is expected to be in the freesurfer | ||
SUBJECTS_DIR | ||
-afni_mri AFNI_MRI Provide a BRIK or HEAD file as input. Data must have the tags assigned to | ||
the header. | ||
-trans_output TRANS_OUTPUT | ||
The output path for the mne trans.fif file | ||
-dsname DSNAME CTF dataset to create the transform | ||
-view_coreg Display the coregistration of MEG and head surface | ||
``` | ||
|
||
``` | ||
usage: bstags.py file.txt | ||
Where file.txt is the saved electrode location output from Brainsight. | ||
``` |