Skip to content

blahner/BOLDMomentsDataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOLD Moments Dataset

This GitHub repository contains starter code for the BOLD Moments dataset (BMD) as described in the publication, "Modeling short visual events through the BOLD Moments video fMRI dataset and metadata."

The dataset is deposited in this OpenNeuro repository.

BMD contains fMRI brain responses to 1,102 3 second videos for 10 subjects. Each naturalistic video includes at least 5x human-annotated object, scene, action, and text description labels, and 1x spoken transcription, memorability score, and memorability decay rate. The 1000-video training set was repeated to each subject 3x and the 102-video testing set was repeated to each subject 10x for a total of 40,200 single trial responses. The dataset additionally contains structural, video-based functional localizer, and functional resting state scans. All data and analysis code is available for download in this OpenNeuro repository:

./downloads/

These shell scripts demonstrate how to download the data you want from the BMD repository. Adapt these scripts as needed to download the specific parts of the dataset you want. Since the derivatives of this dataset are very large (mostly due to the 9 TR estimates per trial in version A), you will most likely NOT want to download all the data in the repository. We recommend using data in version B because it is a bit higher quality with better preprocessing registration and GLM analysis with GLMsingle (Prince et al., 2022).

We have found the quickest and easiest ways to download the data are:

We provide example scripts for both methods. The "download" tab in the OpenNeuro repository contains additional methods to donwload the dataset.

See this GitHub repository for download and inference instructions for the M4 TSM ResNet50 model.

./examples/

These scripts help users familiarize themselves with different versions of the dataset and different analyses you can do with it. The files in './examples/beta_preparation' give example code used in version B for fMRIPrep preprocessing, GLM estimation, and beta preparation. The paths are relative to the dataset repository paths. The code used for analyses in the manuscript is kept in their appropriate locations in the OpenNeuro repository under ./derivatives/versionX/scripts.

Stimulus set download

To comply with different licensing requirements, we make the stimulus set videos (and various derivatives, like frames) available to download here. If after reading the accompanying README file and agreeing to the terms of use, you can download the stimulus set and access it with the password.

Third party imports

The scripts make heavy use of the following third party imports (among others):

  • nilearn
  • nibabel
  • scipy
  • hcp_utils
  • numpy

Citation

If you use this dataset, please cite:

Lahner, B., Dwivedi, K., Iamshchinina, P. et al. Modeling short visual events through the BOLD moments video fMRI dataset and metadata. Nat Commun 15, 6241 (2024). https://doi.org/10.1038/s41467-024-50310-3

About

Starter code for the BOLDMoments fMRI video dataset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages