MEG Software and Analysis: Difference between revisions
mNo edit summary |
|||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
==== MEG |
==== MEG Data Analysis ==== |
||
pyctf tools are a collection of Python scripts useful in the analysis of data sets collected from the CTF scanner. |
|||
These tools have been rewritten using modern Python 3 syntax following standard coding conventions. Most of these programs will run unmodified under MacOS, Windows, and the various versions of Linux with a Python 3.4 distribution or later installed. Python programs requiring modules not included in the standard Python library are indicated. |
|||
⚫ | |||
<syntaxhighlight lang="python"> |
|||
parsemarks.py |
|||
usage: parsemarks.py [-h] [-l] dataset |
|||
* [[CTF Tools|The CTF Tools in a Singularity Container]] |
|||
Extract the marks from the marker file associated with dataset and print them |
|||
in a useful format. |
|||
* [[Pyctf|Accessing CTF Datasets from Python]] |
|||
positional arguments: |
|||
dataset path to CTF dataset or MarkerFile.mrk (required) |
|||
⚫ | |||
optional arguments: |
|||
-h, --help show this help message and exit |
|||
⚫ | |||
-l the marks are labeled in the ouput. Useful for debugging. |
|||
</syntaxhighlight> |
|||
⚫ | |||
⚫ | |||
* [[MEG analysis on Biowulf| MEG analysis on Biowulf]] |
|||
* [[Mne bids pipeline | MNE Bids Pipeline and BIDS background]] |
|||
⚫ | |||
* Converting Brainsight Localizers or AFNI fiducials [https://github.com/nih-megcore/nih_to_mne to tags or MNE transforms] |
|||
* Connectivity Analysis [[Connectivity Resources | Resources]] |
|||
* ICA Cleaning/Analysis [[ICA cleaning | ICA]] |
|||
* Github MEG Code for NIH Labs doing MEG research [[NIH Labs Github Pages | Github Links]] |
|||
==== Basic Tutorials for New/Inexperienced Researchers==== |
|||
Most MEG Core scripts are written in bash, which is the command line interface to Linux. Python is a more powerful programming language, and Tom and Jeff have written some of our scripts in Python, but you don't really need to know how they work, just what they do. The AFNI tutorial below is geared towards fMRI/BOLD analysis. For MEG analysis you can ignore all the BOLD things, we just use it for statistics and display of the final source reconstruction results. If you want to go more in depth, Tom can explain the ones we use. Biowulf can be employed later when you want it all to go faster. |
|||
* HPC: Introduction to Linux -- https://hpc.nih.gov/training/handouts/Introduction_to_Linux.pdf |
|||
* HPC: Bash Class -- https://hpc.nih.gov/training/bash_class/ |
|||
* Python Tutorial -- https://docs.python.org/3/tutorial/ |
|||
* AFNI Introduction -- https://andysbrainbook.readthedocs.io/en/latest/AFNI/AFNI_Short_Course/AFNI_fMRI_Intro.html |
|||
* HPC: Introduction to Biowulf -- https://hpc.nih.gov/training/intro_biowulf |
|||
==== Stimulus Presentation Software ==== |
==== Stimulus Presentation Software ==== |
||
Line 33: | Line 53: | ||
E-Prime® 3.0 software for behavioral research. ''Build your own experiments using E-Prime’s easy-to-use graphical interface. Design, collect, and analyze data – all within a few hours!'' |
E-Prime® 3.0 software for behavioral research. ''Build your own experiments using E-Prime’s easy-to-use graphical interface. Design, collect, and analyze data – all within a few hours!'' |
||
* [https://pstnet.com/products/e-prime/ E-Prime 3.0 website] |
* [https://pstnet.com/products/e-prime/ E-Prime 3.0 website] |
||
===== MEG Data Analysis ===== |
|||
⚫ | |||
* [[CTF DataEditor|Viewing raw data: the CTF Data Editor]] |
|||
* [[Dataset and Task Utilities|Preprocessing: Dataset and Task Utilities]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
====Miscellaneous Documentation==== |
====Miscellaneous Documentation==== |
||
Line 56: | Line 58: | ||
* [[Image:adobe-ps.png]] [[Media:SensLayout-275.ps|SensLayout-275]] — a color picture showing the sensor names and relative locations (ps). |
* [[Image:adobe-ps.png]] [[Media:SensLayout-275.ps|SensLayout-275]] — a color picture showing the sensor names and relative locations (ps). |
||
* [[Image:pdf.png]] [[Media:SensLayout-275.pdf|SensLayout-275]] - a color picture showing the sensor names and relative locations (pdf). |
* [[Image:pdf.png]] [[Media:SensLayout-275.pdf|SensLayout-275]] - a color picture showing the sensor names and relative locations (pdf). |
||
* [[Image:pdf.png]] [[Media:FileFormats.pdf|File Formats]] - CTF MEG data file format |
Latest revision as of 12:20, 25 October 2022
MEG Data Analysis
This section covers all aspects of MEG data analysis. The following pages assume that you have AFNI installed and have a reasonably good idea of how to use it.
- Converting Brainsight Localizers or AFNI fiducials to tags or MNE transforms
- Connectivity Analysis Resources
- ICA Cleaning/Analysis ICA
- Github MEG Code for NIH Labs doing MEG research Github Links
Basic Tutorials for New/Inexperienced Researchers
Most MEG Core scripts are written in bash, which is the command line interface to Linux. Python is a more powerful programming language, and Tom and Jeff have written some of our scripts in Python, but you don't really need to know how they work, just what they do. The AFNI tutorial below is geared towards fMRI/BOLD analysis. For MEG analysis you can ignore all the BOLD things, we just use it for statistics and display of the final source reconstruction results. If you want to go more in depth, Tom can explain the ones we use. Biowulf can be employed later when you want it all to go faster.
- HPC: Introduction to Linux -- https://hpc.nih.gov/training/handouts/Introduction_to_Linux.pdf
- HPC: Bash Class -- https://hpc.nih.gov/training/bash_class/
- Python Tutorial -- https://docs.python.org/3/tutorial/
- AFNI Introduction -- https://andysbrainbook.readthedocs.io/en/latest/AFNI/AFNI_Short_Course/AFNI_fMRI_Intro.html
- HPC: Introduction to Biowulf -- https://hpc.nih.gov/training/intro_biowulf
Stimulus Presentation Software
PsychoPy: Psychology software in Python PsychoPy is an open-source application that allows you to run a wide range of neuroscience, psychology and psychophysics experiments. It’s a free, powerful alternative to Presentation™ or to e-Prime™, written in Python (a free alternative to Matlab™ ).
Presentation: NeuroBehavioral Systems (NBS), Inc. Presentation® is a stimulus delivery and experiment control program for neuroscience written for Microsoft Windows.
E-prime 3: Psychology Software Tools E-Prime® 3.0 software for behavioral research. Build your own experiments using E-Prime’s easy-to-use graphical interface. Design, collect, and analyze data – all within a few hours!
Miscellaneous Documentation
- SensLayout-275 — a color picture showing the sensor names and relative locations (ps).
- SensLayout-275 - a color picture showing the sensor names and relative locations (pdf).
- File Formats - CTF MEG data file format