An MNE compatible package for processing near-infrared spectroscopy data.
MNE-NIRS is an MNE-Python compatible near-infrared spectroscopy processing package.
MNE-Python provides support for fNIRS analysis, this package extends that functionality and adds GLM analysis, helper functions, additional algorithms, data quality metrics, plotting, and file format support.
Documentation for this project is hosted here.
You can find a list of examples within the documentation.
MNE-NIRS and MNE-Python provide a wide variety of tools to use when processing fNIRS data including:
Apply 3D sensor locations from common digitisation systems such as Polhemus.
Standard preprocessing including optical density calculation and Beer-Lambert Law conversion, filtering, etc.
GLM analysis with a wide variety of cusomisation including including FIR or canonical HRF analysis, higher order autoregressive noise models, short channel regression, region of interest analysis, etc.
Visualisation tools for all stages of processing from raw data to processed waveforms, GLM result visualisation, including both sensor and cortical surface projections.
Data cleaning functions including popular short channel techniques and negative correlation enhancement.
Contributions are welcome (more than welcome!). Contributions can be feature requests, improved documentation, bug reports, code improvements, new code, etc. Anything will be appreciated. Note: this package adheres to the same contribution standards as MNE.
This package is built on top of many other great packages. If you use MNE-NIRS you should also acknowledge these packages.
Until there is a journal article specifically on MNE-NIRS, please cite this article.
To start a jupyter lab server with a specified MNE-NIRS version, and mount a local directory on a mac or nix computer use:
docker run -p 8888:8888 -v `pwd`:/home/mne_user ghcr.io/mne-tools/mne-nirs:v0.1.2 jupyter-lab --ip="*"
Or on windows:
docker run -p 8888:8888 -v %cd%:/home/mne_user ghcr.io/mne-tools/mne-nirs:v0.1.2 jupyter-lab --ip="*"
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.