Pyctf: 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:
'''pyctf''' is a Python module that allows access to CTF-format MEG datasets.
'''pyctf''' is a Python module that allows access to CTF MEG datasets. It contains numerous Python functions and stand alone utilities to help automate your data analysis. Parts of it are written in C, compatible with Py2 and Py3.
It contains numerous Python functions and stand alone tools to help automate your data analysis. Parts of it are written in C, compatible with Py2 and Py3.


The latest version (release 20200923) is available here: [https://megcore.nih.gov/MEG/pyctf.tgz pyctf.tgz]
The latest version (released 20200923) is available here: [https://megcore.nih.gov/MEG/pyctf.tgz pyctf.tgz]


See the included INSTALL file for installation instructions.
See the included INSTALL file for installation instructions.


== For biowulf.nih.gov ==


# Requires gcc and fftw
If on biowulf:
#Requires gcc and fftw
module load fftw/3.3.8/openmpi-4.0.1/gcc-9.2.0
module load fftw/3.3.8/openmpi-4.0.1/gcc-9.2.0


#Then follow the instructions in the INSTALL file
Then follow the instructions in the INSTALL file.


=== Utilities included ===
== Included Utilities ==


* thresholdDetect.py is used to detect changes in ADC or other channels, indicating the onset time of stimuli or other events; typically used to detect button presses in the ADC channels.
* thresholdDetect.py is used to detect changes in ADC or other channels, indicating the onset time of stimuli or other events; typically used to detect button presses in the ADC channels.

Revision as of 16:17, 23 September 2020

pyctf is a Python module that allows access to CTF MEG datasets. It contains numerous Python functions and stand alone utilities to help automate your data analysis. Parts of it are written in C, compatible with Py2 and Py3.

The latest version (released 20200923) is available here: pyctf.tgz

See the included INSTALL file for installation instructions.

For biowulf.nih.gov

 # Requires gcc and fftw
 module load fftw/3.3.8/openmpi-4.0.1/gcc-9.2.0

Then follow the instructions in the INSTALL file.

Included Utilities

  • thresholdDetect.py is used to detect changes in ADC or other channels, indicating the onset time of stimuli or other events; typically used to detect button presses in the ADC channels.
Usage: thresholdDetect.py [options] dataset.ds
  • parsemarks is a python script that prints marker information from the MarkerFile.mrk in your .ds dataset directory, and can perform various processing on the marks. Running parsemarks with no arguments produces a detailed usage message.