Skip to content

HanBnrd/NIRSimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIRSimple

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.

DOI License Pipeline PyPI version

Features

  • 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)

Documentation

The documentation can be found here.

Install

In a terminal or a command prompt, run:

pip install nirsimple

Keep the package up to date

In a terminal or a command prompt, run:

pip install --upgrade nirsimple

Example

An example of using NIRSimple with MNE can be found here.

Acknowledgements

Until there is an article specifically on NIRSimple, please cite this article.