fNIRS signal processing simplified
NIRSimple is a Python 3 package for fNIRS with a focus on signal processing. It gives control on preprocessing and processing, enabling to adjust parameters and use different methods from the scientific literature.
This package handles data as numpy arrays. It can be used with MNE pipelines by creating MNE-specific objects (Raw, Epochs, ...) from numpy arrays.
- conversion from light intensity to optical density changes
- differential pathlength factor (DPF) from wavelength and age
- conversion from optical density changes to hemoglobin concentration changes with the modified Beer-Lambert law (options for different extinction coefficient tables)
- signal correction with correlation based signal improvement (CBSI)
The documentation can be found here.
In a terminal or a command prompt, run:
pip install nirsimple
In a terminal or a command prompt, run:
pip install --upgrade nirsimple
An example of using NIRSimple with MNE can be found here.
Until there is an article specifically on NIRSimple, please cite this article.