Installation
Through PyPI.
It is highly recommended to install neurostatx into a python virtual
environment. To do so, please follow these steps:
pipx install virtualenv
# Set up the virtualenv.virtualenv --python 3.11 /path/to/your/destination/folder/
# Activate your newly created environmentsource /path/to/your/destination/folder/bin/activateThen, to install through PyPI, simply use pip:
pip install neurostatxFrom source (for developpers).
This library uses poetry to manage dependencies. To install it, use pipx with the following command:
pip install pipxpipx ensurepathpipx install poetryTo install NeuroStatX and all of its dependencies, run this set of commands:
git clone https://github.com/gagnonanthony/NeuroStatX.gitcd NeuroStatX/poetry installRestart your terminal. You should now be able to activate the poetry
environment by using: source $NeuroStatXPATH/bin/activate from anywhere.
Installing Graphviz
Graphviz is an external dependencies required to visualize semplot from the
semopy package used within NeuroStatX. If you do not have Graphviz
installed on your machine, please run the following if you are on Linux
sudo apt get graphviz or brew install graphviz if you are on MacOS.
How to cite
For now, until a DOI is available, please cite the github URL: https://github.com/gagnonanthony/NeuroStatX.git