Installation

Stable release (pip)

To install fMRI from PyPI with pip:

$ pip install fmri

This installs the latest stable release and the CLI entry points (fmri-main, preprocess-nii-file, nifti-viewer, compare-pcs).

From sources

The sources for fMRI can be downloaded from the Github repo.

Clone the repository:

$ git clone https://github.com/yanivassf-lab/fmri
$ cd fmri

Install in editable mode (development):

# Option A: system Python
$ pip install -e .

# Option B: conda
$ conda install -c conda-forge mamba
$ mamba create -n fmri-dev -c conda-forge python=3.11
$ mamba activate fmri-dev
$ mamba install -c conda-forge numpy scipy mkl mkl-service matplotlib nibabel scikit-fda dtaidistance
$ pip install -e .

Verify installation

fmri-main --help
preprocess-nii-file --help
compare-pcs --help