From MEG Core
Revision as of 16:17, 23 September 2020 by Tomh (talk | contribs)
Jump to navigation Jump to search

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.


 # 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

  • 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: [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.