Skip to main content

Tools and tutorials for voxelwise modeling

Project description

Github Python License Build Downloads

Welcome to the voxelwise modeling tutorial from the GallantLab.

Paper

If you use these tutorials for your work, consider citing the corresponding paper:

Dupré La Tour, T., Visconti di Oleggio Castello, M., & Gallant, J. L. (2024). The Voxelwise Modeling framework: a tutorial introduction to fitting encoding models to fMRI data. https://doi.org/10.31234/osf.io/t975e

You can find a copy of the paper here.

Tutorials

This repository contains tutorials describing how to use the voxelwise modeling framework. Voxelwise modeling is a framework to perform functional magnetic resonance imaging (fMRI) data analysis, fitting encoding models at the voxel level.

To explore these tutorials, one can:

  • read the rendered examples in the tutorials website (recommended)

  • run the Python scripts (tutorials directory)

  • run the Jupyter notebooks (tutorials/notebooks directory)

  • run the merged notebook in Colab.

The tutorials are best explored in order, starting with the “Shortclips” tutorial.

Helper Python package

To run the tutorials, this repository contains a small Python package called voxelwise_tutorials, with useful functions to download the data sets, load the files, process the data, and visualize the results.

Installation

To install the voxelwise_tutorials package, run:

pip install voxelwise_tutorials

To also download the tutorial scripts and notebooks, clone the repository via:

git clone https://github.com/gallantlab/voxelwise_tutorials.git
cd voxelwise_tutorials
pip install .

Developers can also install the package in editable mode via:

pip install --editable .

Requirements

The package voxelwise_tutorials has the following dependencies: numpy, scipy, h5py, scikit-learn, matplotlib, networkx, nltk, pycortex, himalaya, pymoten, datalad.

Cite as

If you use one of our packages in your work (voxelwise_tutorials [1], himalaya [2], pycortex [3], or pymoten [4]), please cite the corresponding publications:

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

voxelwise_tutorials-0.1.7.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

voxelwise_tutorials-0.1.7-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file voxelwise_tutorials-0.1.7.tar.gz.

File metadata

  • Download URL: voxelwise_tutorials-0.1.7.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for voxelwise_tutorials-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e9de3810c9f331dabfd2e87f2d6881931cf69f62e1844c011f567b96ac252dd5
MD5 31db8d556e1744b3fcb810556c22db2f
BLAKE2b-256 84c35ad0d22c582dc843f45634d79a3f6b3bd02d5a7b9f1b6d8246e4c8793e6c

See more details on using hashes here.

File details

Details for the file voxelwise_tutorials-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for voxelwise_tutorials-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c44dcbd17db00810be021a0761fd0693207209f860bbc9c54ed5bd2305c6e5a5
MD5 99d42b1f44db88b4e07809dd09439596
BLAKE2b-256 ee4475c46043d1597b2024d066262c062a00dd2cbc3057f528a888bd59c42001

See more details on using hashes here.

Supported by

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