Metadata-Version: 2.4
Name: cedalion
Version: 25.1.0
Summary: A fNIRS analysis framework
Project-URL: Home, https://ibs-lab.com/cedalion/
Project-URL: Documentation, https://doc.ibs.tu-berlin.de/cedalion/doc/dev/
Project-URL: Source Code, https://github.com/ibs-lab/cedalion/
Author: Eike Middell et al.
License-File: LICENSE.md
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.11
Requires-Dist: click==8.2.*
Requires-Dist: h5py==3.14.*
Requires-Dist: ipympl
Requires-Dist: matplotlib==3.10.*
Requires-Dist: mne-bids==0.16.*
Requires-Dist: mne-nirs==0.7.*
Requires-Dist: mne==1.9.*
Requires-Dist: nibabel==5.3.*
Requires-Dist: nilearn==0.11.*
Requires-Dist: numpy==2.2.*
Requires-Dist: opencv-python>4
Requires-Dist: pandas==2.3.*
Requires-Dist: pint-xarray==0.4.*
Requires-Dist: pmcx==0.4.2
Requires-Dist: pmcxcl==0.3.1
Requires-Dist: pooch==1.8.*
Requires-Dist: pybids==0.19.*
Requires-Dist: pyvista==0.45.*
Requires-Dist: pywavefront==1.3.*
Requires-Dist: pywavelets==1.8.*
Requires-Dist: pyxdf==1.17.0
Requires-Dist: scikit-image==0.25.*
Requires-Dist: scikit-learn==1.7.*
Requires-Dist: scipy==1.15.*
Requires-Dist: seaborn==0.13.*
Requires-Dist: setuptools-scm
Requires-Dist: snirf==0.8.*
Requires-Dist: statsmodels==0.14.4
Requires-Dist: strenum==0.4.*
Requires-Dist: trame-components==2.5.*
Requires-Dist: trame-vtk==2.8.*
Requires-Dist: trame-vuetify==3.0.*
Requires-Dist: trame==3.10.*
Requires-Dist: trimesh==4.6.*
Requires-Dist: vtk>9.3
Requires-Dist: xarray==2025.6.*
Description-Content-Type: text/markdown

<p align="center">
    <img src="docs/img/IBS_clr_small.png" />
</p>

# cedalion - fNIRS analysis toolbox

To avoid misinterpretations and to facilitate studies in naturalistic environments, fNIRS measurements will increasingly be combined with recordings from physiological sensors and other neuroimaging modalities.
The aim of this toolbox is to facilitate this kind of analyses, i.e. it should allow the easy integration of machine learning techniques and provide unsupervised decomposition techniques for
multimodal fNIRS signals.

## Documentation

The [documentation](https://doc.ibs.tu-berlin.de/cedalion/doc/dev) contains
[installation instructions](https://doc.ibs.tu-berlin.de/cedalion/doc/dev/getting_started/installation.html) as
well as several [example notebooks](https://doc.ibs.tu-berlin.de/cedalion/doc/dev/examples.html)
that illustrate the functionality of the toolbox.
For discussions and help you can visit the [cedalion forum on openfnirs.org](https://openfnirs.org/community/cedalion/)


## Development environment

To create a conda environment with the necessary dependencies run:

```
$ conda env create -n cedalion -f environment_dev.yml
```

Afterwards activate the environment and add an editable install of `cedalion` to it:
```
$ conda activate cedalion
$ pip install -e .
$ bash install_nirfaster.sh CPU # or GPU
```

This will also install Jupyter Notebook to run the example notebooks.

If conda is too slow consider using the faster drop-in replacement [mamba](https://mamba.readthedocs.io/en/latest/).
If you have Miniconda or Anaconda you can install mamba with:
'''
$ conda install mamba -c conda-forge
'''
and then create the environment with
```
$ mamba env create -n cedalion -f environment_dev.yml
```
Please note: If this does not socceed there is another route to go:
Install the libmamba solver
'''
$ conda install -n base conda-libmamba-solver
'''
and then build the environment with the --solver=libmamba
```
$ conda env create -n cedalion -f environment_dev.yml --solver=libmamba
```

## How to cite Cedalion
A paper for the toolbox is currently in the making. If you use this toolbox for a publication in the meantime, please cite us using GitHub's  "Cite this repository" feature in the "About" section. If you want to contact us or learn more about the IBS-Lab please go to https://www.ibs-lab.com/

