Software


BrainSMASHGEMMRPsychRNN
PyDDMQuNex

Additional code repositories (e.g., associated with papers) are linked to on Publications and are available from the Murray Lab GitHub page: https://github.com/murraylab.

BrainSMASH – Brain surrogate maps with autocorrelated spatial heterogeneity

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.

Primary developer: Joshua B. Burt

Repository: https://github.com/murraylab/brainsmash

Documentation: https://brainsmash.readthedocs.io/en/latest/

Associated publication: Burt JB, et al. (2020) Generative modeling of brain maps with spatial autocorrelation. NeuroImage 220:117038. [DOI]

[Return to top]

GEMMR – Generative modeling of multivariate relationships

GEMMR calculates required sample sizes for Canonical Correlation Analysis (CCA) and Partial Least Squares (PLS). In addition, it can generate synthetic datasets for use with CCA and PLS, and provides functionality to run and examine CCA and PLS analyses. It also provides a Python wrapper for PMA, a sparse CCA implementation.

Primary developer: Markus D. Helmer

Repository: https://github.com/murraylab/gemmr

Documentation: https://gemmr.readthedocs.io/en/latest/

Associated publication: Helmer M, et al. (2020) On stability of Canonical Correlation Analysis and Partial Least Squares with application to brain-behavior associations. bioRxiv[DOI]

[Return to top]

PsychRNN – Training recurrent neural network models on cognitive tasks

PsychRNN is an accessible, flexible, and extensible Python package for training RNNs on cognitive tasks. The package designed for accessibility, for researchers to define tasks and train RNN models using only Python and NumPy without requiring knowledge of deep learning software. The training backend is based on TensorFlow and is readily extensible for researchers with TensorFlow knowledge to develop projects with additional customization.

Primary developers: Daniel B. Ehrlich, Jasmine T. Stone

Repository: https://github.com/murraylab/PsychRNN

Documentation: https://psychrnn.readthedocs.io/en/latest/

Associated publication: Ehrlich DB*, Stone JT*, et al. (* denotes equal contribution) (2021) PsychRNN: an accessible and flexible Python package for training recurrent neural network models on cognitive tasks. eNeuro 0427-20.2020 [DOI]

[Return to top]

PyDDM – A flexible framework for simulating and fitting generalized drift-diffusion models

PyDDM is a simulator and modeling framework for generalized drift-diffusion models (GDDM or DDM), with a focus on cognitive neuroscience.

Key features include:

  • Fast solutions to generalized drift-diffusion models, allowing data-fitting with a large number of parameters
  • Fokker-Planck equation solved numerically using Crank-Nicolson and backward Euler methods for likelihood fitting on the full distribution
  • Arbitrary functions for parameters drift rate, noise, bounds, and initial position distribution
  • Arbitrary loss function and fitting method for parameter fitting
  • Multiprocessor support
  • Optional GUI for debugging and gaining an intuition for different models
  • Convenient and extensible object oriented API allows building models in a component-wise fashion
  • Verified accuracy of simulations using software verification techniques

Primary developer: Maxwell Shinn

Repository: https://github.com/murraylab/PyDDM

Documentation: https://pyddm.readthedocs.io/en/stable/

Associated publication: Shinn M*, Lam NH* & Murray JD (2020) A flexible framework for simulating and fitting generalized drift-diffusion models. eLife 9:e56938. [DOI]

[Return to top]

QuNex – An integrative platform for reproducible neuroimaging analytics

QuNex is an open-source software suite that collectively supports an extensible framework for data organization, preprocessing, quality assurance, and analyses across neuroimaging modalities.

Primary developers: Anticevic Lab (Yale), Repovs Lab (Ljubljana), Murray Lab (Yale)

Repository: https://qunex.yale.edu/

Documentation: https://qunex.readthedocs.io/

Associated publication: Ji JL, et al. (2022) QuNex – an integrative platform for reproducible neuroimaging analytics. bioRxiv 10.1101/2022.06.03.494750. [DOI]

[Return to top]