PyMEG: a python magnetoencephalography project
by: Dan Collins ude.revnedcu|snilloc.nad#ude.revnedcu|snilloc.nad, University of Colorado Denver, MEG lab
I have moved this project off of this wiki to our own http://wiki.neuromeg.org/PyMEG
Overview
PyMEG is a project written in python being developed out of The University of Colorado MEG laboratory to do various neuroimaging processing with magnetoencephalography data. The purpose of this project, is to create a suite of functions to do MEG analysis in python. While there exist a far amount of code out there for matlab, there is currently no existing code for MEG analysis in python. Python is a flexible programming language, and with the numerical libraries such as numpy and scipy, a lot of the same functionality that Matlab has can be accomplished. The project is now quite early in its development, so all code is considered very beta. However, at the moment we have a fully operational completely python converter of the 4D MEG data format 4D and several other utilities to do various things, such as leadfield computation, source-space projection, morlet wavelet time-frequency analysis (power spectrum and phase), a leadfield based source localization technique using matrix correlation, a primitive mri viewer, a 3D mri interactive viewer, and some plotting tools. Also, recently added is a data tap to do close to realtime reading of the data as its being acquired and additionally added a GUI for easier interaction. Future goals are to include additional source localization methods.
Just to reiterate, pymeg is in its current stage, not ready to be used for most humans. I share what I have done so far in hopes of encouraging others to participate and make something more useful.
The pymeg software is released as open source under the GNU general public license.





