BrainStat is available in Python and MATLAB.
BrainStat requires Python 3.7+. Assuming you have the correct version of Python installed and aliased to python, you can install BrainStat by running the following
python -m pip install brainstat
If you want to use the meta analysis module, you’ll also have to download and install the package pyembree. This package is only available through conda-forge:
conda install -c conda-forge pyembree
This toolbox is compatible with MATLAB versions R2019b and newer.
We recommend installing the toolbox through the Mathworks FileExchange. Simply download the file as a toolbox and open the .mltbx file in MATLAB. Alternatively, you can install the same .mltbx file from our GitHub Releases.
If you don’t want to install BrainStat as a MATLAB Toolbox, you can also simply download the repository and run the following in MATLAB:
If you want to load BrainStat every time you start MATLAB, type
startup and append the above line to the end of this file.