Command-line toolbox to perform various statistical analysis on neuroscience data.
Project description
NeuroStatX is a command-line toolbox to perform statistical analysis on neuroscience data. It had been developped mostly as part of my PhD project, which aims to understand the relationship between the brain, cognition and behavior, hence the focus on neuroscience data. As my project goes forward, new functionalities and scripts will be added. Contributions are welcome!.
[!NOTE] NeuroStatX also offers a strong testing infrastructure to ensure robust and reproducible results when applicable. Unit test are already implemented for most functions, and CLI script are tested to ensure proper execution.
Installation
Through PiPy.
[!WARNING] NeuroStatX will become available through PiPy once release 1.0.0 is out! Stay tuned.
From source.
This library uses poetry to manage dependencies. To install it, use pipx with the following command:
pip install pipx
pipx ensurepath
pipx install poetry
[!WARNING] Poetry is creating is own virtual environment by default. Therefore, be sure to deactivate all of your virtual environment before continuing on with the installation.
To install NeuroStatX and all of its dependencies, run this set of commands:
git clone https://github.com/gagnonanthony/NeuroStatX.git
cd NeuroStatX/
poetry install
[!NOTE] The
poetry install
command will install all required dependencies as well as setting up a virtual environment. To access the library environment, use:poetry shell
from the project root directory. This will activate the project's python environment in your current shell. To access your environment from other directories, use this command (from within the project directory), you might need to modify ~/.bashrc to your specific login shell (ex: MacOS sometimes uses zsh, so ~/.zshrc or ~/.zprofile):
ENVPATH=$(poetry env info --path)
echo "export NeuroStatXPATH=${ENVPATH}" >> ~/.bashrc
Restart your terminal. You should now be able to activate the poetry
environment by using: source $NeuroStatXPATH/bin/activate
from anywhere.
[!IMPORTANT]
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 Linuxsudo apt get graphviz
orbrew install graphviz
if you are on MacOS.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neurostatx-0.1.0.tar.gz
.
File metadata
- Download URL: neurostatx-0.1.0.tar.gz
- Upload date:
- Size: 83.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b178d5448f52803509b31905bd3f75329b42eac5e4da265cd71891e73e69f732 |
|
MD5 | 9c5284d9f1a49c5a1a488ec4e97d9347 |
|
BLAKE2b-256 | d751e202ca6a5f2da004cb392d0627ed349c9749ee0033e94706475ca9c2ea98 |
File details
Details for the file neurostatx-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: neurostatx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 116.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55bf0e5bf33b005966aedeabea9a01042be704990892c8c43ef0796713f34d1f |
|
MD5 | 817dbb69fa2e4204c097fe37ba2f91ad |
|
BLAKE2b-256 | 80480f89f360f0341424dc9954a1c1fdc1031e4bb3057f9960d8be7def5c251b |