Skip to main content

Tools and tutorials for voxelwise modeling

Project description

Github Python License

Welcome to the voxelwise modeling tutorial from the Gallantlab.

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.2.tar.gz (153.1 kB view details)

Uploaded Source

Built Distribution

voxelwise_tutorials-0.1.2-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voxelwise_tutorials-0.1.2.tar.gz
  • Upload date:
  • Size: 153.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.27.1 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for voxelwise_tutorials-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2e5fe2e9b510cd0d923e8c11ca145e869475b6b9e2d652724c3f9ecdb27ee973
MD5 03eeab3d60aa3ff80778acbf451bbcab
BLAKE2b-256 d8fa086c52b0c4f8da8c637e6a94e6fe5fe06e9b60a290e42a278c8cfaf2c304

See more details on using hashes here.

File details

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

File metadata

  • Download URL: voxelwise_tutorials-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.27.1 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for voxelwise_tutorials-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4f8a3ade6660f8e0b93f583646effbe77ad2f16ec5595b23e7bd5740bb1f3f
MD5 e78bbb7ab2cc17cd96c671e57d38ed0a
BLAKE2b-256 af48e42acc52af6e9c5fa0a4bfa6e39cf4c6e6726159ba26bddce5cae973391b

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