Aan Open-Source Software for Spatio-Temporal Graph Analysis of fMRI data.
Project description
fSTG Toolkit: an Open-Source Software for Spatio-Temporal Graph Analysis of fMRI data
Overview
fSTG Toolkit is an open-source software dedicated to longitudinal analysis of brain connectivity, modeling data as spatio-temporal graphs. It enables the study of dynamics and reorganization of brain regions, primarily using functional MRI (fMRI) data, but is also compatible with any type of connectivity data.
Current main features:
- Building of spatio-temporal graphs from correlation matrices and region definitions.
- Advanced graph metrics computation.
- Interactive visualization of results via a web dashboard.
- Simulation of connectivity patterns and sequences.
- Frequent subgraph pattern mining via SPMiner integration.
Installation
Installation from PyPI
The easiest way to get started is to install the package from PyPI. Make sure you have a Python environment ready with a supported version (see the badge above), then run:
pip install fSTG-Toolkit
To install optional feature sets:
pip install "fSTG-Toolkit[dashboard]" # web dashboard
pip install "fSTG-Toolkit[plot]" # matplotlib plots
pip install "fSTG-Toolkit[frequent]" # frequent pattern mining (requires Docker)
pip install "fSTG-Toolkit[dashboard,plot,frequent]" # everything
Installation from Source
To install from source, create a new environment with the required Python and Poetry binaries. Using conda:
conda env create -n <env_name> -f environment.yml
conda activate <env_name>
Then in the project's root folder, install the dependencies:
poetry install
To install optional feature sets:
poetry install --extras dashboard # web dashboard
poetry install --extras plot # matplotlib plots
poetry install --extras frequent # frequent pattern mining (requires Docker)
poetry install --all-extras # everything
Quick Start
# Build graphs from a correlation matrix file and an areas CSV
python -m fstg_toolkit graph build -o my_graphs.zip areas.csv matrices.npz
# Compute graph metrics
python -m fstg_toolkit graph metrics my_graphs.zip
# Open the interactive dashboard
python -m fstg_toolkit dashboard show my_graphs.zip
The areas CSV must contain Id_Area, Name_Area, and Name_Region columns. Correlation matrices must be NumPy files (.npz or .npy) with shape (T, N, N).
Use --help on any command for full options:
python -m fstg_toolkit --help
python -m fstg_toolkit graph build --help
Full usage documentation, tutorials, and API reference are available at fstg-toolkit.readthedocs.io.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fstg_toolkit-1.2.0.tar.gz.
File metadata
- Download URL: fstg_toolkit-1.2.0.tar.gz
- Upload date:
- Size: 114.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
597e3a1fdfea33b9116bbfabaab7d645198b39dddb2fe231e9414ea49a8b6905
|
|
| MD5 |
619b2d172f83ce848aa197f5da541af3
|
|
| BLAKE2b-256 |
897c517c094b6882cde06f6b6438287956ac439f3666424203b6eb0f82e0c8dc
|
Provenance
The following attestation bundles were made for fstg_toolkit-1.2.0.tar.gz:
Publisher:
publish.yml on julienpontabry/fstg_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fstg_toolkit-1.2.0.tar.gz -
Subject digest:
597e3a1fdfea33b9116bbfabaab7d645198b39dddb2fe231e9414ea49a8b6905 - Sigstore transparency entry: 1246156405
- Sigstore integration time:
-
Permalink:
julienpontabry/fstg_toolkit@13ae1439cca7c14f8783d029b71177326346216e -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/julienpontabry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@13ae1439cca7c14f8783d029b71177326346216e -
Trigger Event:
release
-
Statement type:
File details
Details for the file fstg_toolkit-1.2.0-py3-none-any.whl.
File metadata
- Download URL: fstg_toolkit-1.2.0-py3-none-any.whl
- Upload date:
- Size: 161.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47afeceabfabcaeab44edf4ee931d6e37cd363376ce7cb29fb66250fdebc6931
|
|
| MD5 |
2e2b49025ed4f0d8da11c92c24809f5c
|
|
| BLAKE2b-256 |
383b7d9946f5d46161b03dc567e2475bf2b6b6fcf58e237bc5446414afc955ba
|
Provenance
The following attestation bundles were made for fstg_toolkit-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on julienpontabry/fstg_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fstg_toolkit-1.2.0-py3-none-any.whl -
Subject digest:
47afeceabfabcaeab44edf4ee931d6e37cd363376ce7cb29fb66250fdebc6931 - Sigstore transparency entry: 1246156409
- Sigstore integration time:
-
Permalink:
julienpontabry/fstg_toolkit@13ae1439cca7c14f8783d029b71177326346216e -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/julienpontabry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@13ae1439cca7c14f8783d029b71177326346216e -
Trigger Event:
release
-
Statement type: