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.
- 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.