Run notebooks via Google Colaboratory - huffman-spatial-cognition-lab/exploration_of_fMRI_methods_and_theory GitHub Wiki
Information about running the Python notebooks via Google Colaboratory
If you run the notebooks via Google Colaboratory (Step 2, Method 3), then you can simply upload one of the Google Colaboratory files and you are ready to run it. Specifically, here are the two steps:
Step 1: Open Google Colaboratory
Navigate to the following link: https://colab.research.google.com
Step 2: Upload the Python notebook files from your computer to Google Colaboratory
Click "File" and then "Upload notebook". Now, please be sure that you upload one of the files from the google_colaboratory folder.
Step 3: Upload the events.csv file for stimulus timing
Click on the "Files" icon (looks like a folder) on the left side of the page. Then, drag and drop the events.csv file here. This will save the event timing information. Note that you will need to reupload the data every time the server reconnects. Alternatively, you can allow Google Colaboratory to access your Google Drive, in which case you can point the datapath variable to the relevant location within the Python notebooks.
You are now ready to run the notebook!
Note that I also have video walkthroughs for these analysis notebooks, which you can find here for Exploration: Activation Analysis and here for Exploration: Multivariate pattern analysis (MVPA).