Skip to main content

General helper functions for working with neuroimaging data.

Project description

neurotools

pip

Creative and original name? Maybe not. Lots of cool and helpful tools for working with neuroimaging data? Yes.

What's Included?

neurotools is split into a number of different directories / sub-packages, each including different functionality (though key pieces from different sub-directories are shared allowing for some cool functionality!). Be low are some brief descriptions of the different sub-packages.

  • loading : This directory encompasses a set of utilities for loading generic neuroimaging data, as well as some ABCD study specific loading utilities.

  • misc : A set of misc. functions that don't fit in nicely anywhere else.

  • plotting : Tools and functions for plotting surface representations of the data. Also smart functions for easy quick plots and collages of surface representations. Still a big work in progress as plotting can be messy, but in general these tools are designed to help make it easier and more stream-lined.

  • random : Different from misc... this includes functions that are based on randomness. These include utilities for generating constrained permutations based on block structures and also for generating random / null surface parcellations.

  • rely : Included here are utilities for running 'reliability' like tests. These were featured in https://github.com/sahahn/ABCD_Consortium_Analysis

  • stats : Featured here are wrappers and other code for running statical tools, from basic functions (i.e., calculating cohen's d effect size with or without NaN's) to running mixed linear models.

  • transform : Tools for transforming data - that is to say, tools for extracting ROIs from surface level data are provided, with utility for inverse_transforming them as well. Also included, but still more as a work in progress, are some utilities for converting between different common surfaces, e.g., from fs LR 32k surface parcellations to a version without medial walls and with the sub-cortical regions included.

Besides these main functionalities, another main folder is included, called "slurm". This folder will store examples for using the neurotools package on a SLURM cluster is a massively paralell way. Included are, and in the future will be, examples with extra scripts and pieces responsible for submitting and collecting jobs.

Install

The easiest way to install is through pypip via

pip install bp-neurotools

You can also install the latest version via github directly, by cloning (git clone https://github.com/sahahn/neurotools) and then pip installing (navigate into the directory then run pip install .) the repository.

This will install for you the latest version. Note that on running it for the first time, it will install for you automatically the required external data that the library leverages.

Project details


Download files

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

Source Distribution

bp-neurotools-0.24.tar.gz (110.4 kB view details)

Uploaded Source

Built Distribution

bp_neurotools-0.24-py3-none-any.whl (130.3 kB view details)

Uploaded Python 3

File details

Details for the file bp-neurotools-0.24.tar.gz.

File metadata

  • Download URL: bp-neurotools-0.24.tar.gz
  • Upload date:
  • Size: 110.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for bp-neurotools-0.24.tar.gz
Algorithm Hash digest
SHA256 0381ab360ac36ae2786a6effa32ef7b4e768f69533c9254286b9e098a022f5d4
MD5 b4bfc1257598d6cb4210722eef969735
BLAKE2b-256 64cc418302c69666a4ed7936fcd216bd872cfc5839c257b56680c7c7ee104da0

See more details on using hashes here.

File details

Details for the file bp_neurotools-0.24-py3-none-any.whl.

File metadata

  • Download URL: bp_neurotools-0.24-py3-none-any.whl
  • Upload date:
  • Size: 130.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for bp_neurotools-0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6a22ff2bcd8a31747f76ede901dcfbd9f47cc546360ec320822cbfae7926b1
MD5 26e5e24d20d160fbf96682d2352f7128
BLAKE2b-256 75e9c049b57013c7380c77b7da93236c756e7e727a632f66ae668436a62ea8a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page