Skip to content

KamitaniLab/HumanDreamDecoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Human Dream Decoding

sleep.jpg

This work has been published in Science,

Horikawa, T., Tamaki, M., Miyawaki, Y., & Kamitani, Y. (2013) "Neural decoding of visual imagery during sleep" Science 340, 639-642. http://science.sciencemag.org/content/340/6132/639.long

Usage

Download fMRI data

First, download raw fMRI data from http://brainliner.jp/data/brainliner/Human_Dream_Decoding and put them in data/raw/ directory. Data for all three subjects and all sessions are required. Because the raw fMRI data is very large (>30GB), if you want to skip the following preprocessing step and start from the decoding analyses, you can download preprocessed data from the Supplementary File of the above web page.

fMRI data preprocessing

To convert raw fMRI data to preprocessed data, change directory to the code/ and type:

>> convertRawDatatoPreprocessedData

in the MATLAB terminal. The preprocessed data will be saved in data/preproc/ directory. Because the preprocessing requires over 30 GB memory (and it takes about an hour), it may be better to run this code on your cluster machine, not on your local PC.

Perform stimulus-to-dream decoding anlaysis

To perform decoding analyses, type:

>> Perception2SleepDecoding_BATCH

This script performs the pair-wise decoding for all categories for all the subjects, and produces histograms of decoding accuracy for all the pairs (cf. Figure 3B in the original paper).

Copyright and License

Copyright (c) 2015 ATR Department of Neuroinformatics

The data provided here is released under the Open Data Commons Attribution License, ODC BY (http://opendatacommons.org/licenses/by/).

The scripts provided here are released under the MIT license (http://opensource.org/licenses/mit-license.php).

Contact: brainliner-admin@atr.jp

About

Codes used in "Neural decoding of visual imagery during sleep" by Horikawa et al (Science, 2013, http://science.sciencemag.org/content/340/6132/639.long)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published