Open source software

cottoncandy

Python package for storing arrays on the cloud

GitHub Downloads Build Status

https://github.com/gallantlab/cottoncandy

cottoncandy is a Python package for storing and accessing numpy array data on S3. This is achieved by reading arrays from memory and downloading arrays directly into memory. This means that you don’t have to download your array to disk, and then load it from disk into your python session.

pymoten

Computer vision package for extracting motion energy features from videos

GitHub Downloads coverage

https://github.com/gallantlab/pymoten

pymoten is a Python package that provides a convenient way to extract motion energy features from video using a pyramid of spatio-temporal Gabor filters. The filters are created at multiple spatial and temporal frequencies, directions of motion, screen positions, and sizes. Each filter quadrature-pair is convolved with the video and their activation energy is computed for each frame. These features provide a good basis to model brain responses to natural movies.

tikreg

Machine learning package for Tikhonov, ridge, and banded ridge regression

GitHub Downloads coverage

tikreg is a Python package for Tikhonov regression (a.k.a. L2-regularized regression). Tikhonov regression provides a general framework for estimating encoding models with non-spherical multivariate normal priors. This framework is useful to model biological signals. This package was developed to analyze brain data collected using functional magnetic resonance imaging. tikreg can also be used to model other neuroimaging signals (e.g. 2P, ECoG, etc) and LTI signals more generally.

See latest implementation in: https://github.com/gallantlab/himalaya

fusilib

Signal processing package for functional ultrasound and electrophysiology data

https://github.com/anwarnunez/fusi

Implements temporal, frequency and spatial domain analyses related to Nunez-Elizalde, et al., 2022.