Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

BrainSuite statistics toolbox

Project description

[BrainSuite] (c) 2016 Statistics Toolbox (bss)

The [BrainSuite] (c) statistics toolbox allows the application of advanced statistical models to surface, image and curve based outputs generated from BrainSuite. This enables population or group modeling of cortical or sulcal morphology. Some features of the toolbox are:

- a python interface for using [statsmodels] with [pandas] for a pure python implementation
- Ability to plot graphs, charts and visualizations on surfaces (coming soon)

T1-weighted MRI image processing and registration steps include cortical surface extraction
and alignment to a reference atlas using [SVReg], which performs surface-constrained volume registration of triangular meshes and image intensities.
BSS is then used to perform population level statistical analysis of various neuroimaging measures.

* Volumetric TBM: voxel-wise analysis of the magnitude of the 3D deformation fields representing volumetric shrinking and expansions of MRI images in the atlas space.
* Surface TBM: vertex-wise analysis of the magnitude of the 3D deformation fields representing shrinking and expansions of cortical surfaces in the atlas space.
* ROI-based analysis: analysis of average gray matter thickness, surface area, and gray matter volume over a cortical ROI.
* Masking for hypothesis-driven testing: focal analysis of vertex-wise brain measures masked over an ROI based on a priori hypotheses.
* Deformation-based morphometry for diffusion images: voxel-wise analysis of quantitative diffusion characteristics (e.g., fractional anisotropy, mean diffusivity, radial diffusivity) resampled to a common atlas space using SVReg.

For the above analysis methods, BSS provides functions to fit linear regression models, ANOVA and hypothesis testing on the measures described above. Additionally, it enables testing interaction effects of different variables on brain imaging measures. In addition to testing for multiple comparison using the false discovery rate, BSS now supports permutation testing for multiple hypothesis testing.

Open a command line terminal and type ``pip install bss``.

Full souce code is available at [].

The ``pip install bss`` command should install the dependencies.
* [Python] 2.7
* [pandas], [statsmodels], [nibabel], [matplotlib]

Installation tips
We recommend installing bss in a virtual environment.
See [virtualenv], [conda] etc.

For those who do not have Python installed, we recommend [miniconda].
Install [miniconda] and then run ``pip install bss`` on the command line.

Installation tips
For usage, please refer to the [tutorials].


GNU [General Public License] v2.

[General Public License]:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bss, version 0.9.4
Filename, size File type Python version Upload date Hashes
Filename, size bss-0.9.4-py2.py3-none-any.whl (108.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size bss-0.9.4.tar.gz (60.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page