Skip to main content

Brain Surrogate Maps with Autocorrelated Spatial Heterogeneity.

Project description


BrainSMASH (Brain Surrogate Maps with Autocorrelated Spatial Heterogeneity) is a Python-based computational platform for statistical testing of spatially autocorrelated brain maps. At the heart of BrainSMASH is the ability to simulate surrogate brain maps with spatial autocorrelation that is matched to spatial autocorrelation in a target brain map. Additional utilities are provided for users using Connectome Workbench style surface-based neuroimaging files.

Exhaustive documentation can be found here.


Installing BrainSMASH requires:

If you wish to use the additional utilities provided for Connectome Workbench users, you must have Connectome Workbench installed with the wb_command executable locatable in your system PATH environment variable.


BrainSMASH is most easily installed using pip:

pip install brainsmash

You may also clone and install the source files manually:

git clone
cd brainsmash
python install


The BrainSMASH source code is available under the GNU General Public License v3.0.


Please cite the following preprint if you use BrainSMASH in your research:

Core development team

  • Joshua B Burt, Murray Lab - Yale University
  • John D Murray, Murray Lab - Yale University

Change Log

  • 0.0.7 Removed console print statements.
  • 0.0.6 Fixed masked dense array handling.
  • 0.0.1 Initial beta release.

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

brainsmash-0.0.7.tar.gz (256.2 kB view hashes)

Uploaded source

Built Distribution

brainsmash-0.0.7-py3-none-any.whl (259.4 kB view hashes)

Uploaded py3

Supported by

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