Code

Our lab publishes much of our finished code (and some of our working code) on github. Check out the following links for tools we have built or collaborated in building.

Please note that GitHub is a 3rd party web site. If you have any issues accessing any of the linked content, please contact the Pieces of Mind lab.

Stimulus generation code

Blender Vision Project (bvp): a library of wrappers for Blender to help render 3D stimuli.

fMRI visualization code

pycortex: a library for visualizing fMRI results on the cortical surface. See the publication about this project here.

Image feature extraction code

Motion energy & Gabor filtering. This code computes the amount of motion energy at different locations, orientations, scales, and speeds. It can also compute static orientation contrast (i.e. simple Gabor filters). This code has been used in multiple papers, originally in Nishimoto et al 2011, and also in Stansbury et al 2013, Lescroart et al 2015, and Lescroart et al 2018.

Fourier power. This code computes the amount of power present at different orientations and spatial frequencies. This code was based on Rajimehr et al 2011 and Nasr & Tootell 2012, and was used in Lescroart et al 2015 and Lescroart & Gallant 2018

3D scene surfaces. This code computes features related to 3D scene structure from surface normal and distance images. This code was used to compute features for all the 3D structural models in Lescroart et al 2018

Lab github page

This currently links to the PI’s git page, but this will be changing in the future. This repository contains miscellaneous other code, for generating fake data, making plots using matplotlib, etc.