Skip to content

Commit a57d520

Browse files
committed
ENH start setting up jupyter-book
1 parent 89c4c6a commit a57d520

File tree

11 files changed

+90
-0
lines changed

11 files changed

+90
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ dist/
1212
# Documentation build
1313
doc/_build/
1414
doc/_auto_examples/
15+
tutorials/_build

tutorials/_config.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Book settings
2+
# Learn more at https://jupyterbook.org/customize/config.html
3+
4+
title: Voxelwise Encoding Model tutorials
5+
author: Tom Dupré la Tour, Matteo Visconti di Oleggio Castello, Jack L. Gallant
6+
logo: book_assets/static/flatmap.png
7+
8+
# Force re-execution of notebooks on each build.
9+
# See https://jupyterbook.org/content/execute.html
10+
execute:
11+
execute_notebooks: cache
12+
timeout: -1 # do not timeout
13+
exclude_patterns:
14+
- notebooks/shortclips/00_setup_colab.ipynb
15+
- notebooks/shortclips/07_extract_motion_energy.ipynb
16+
- notebooks/shortclips/07_extract_motion_energy.ipynb
17+
- notebooks/vim2/00_download_vim2.ipynb
18+
- notebooks/vim2/01_extract_motion_energy.ipynb
19+
- notebooks/vim2/02_plot_ridge_model.ipynb
20+
21+
# Define the name of the latex output file for PDF builds
22+
latex:
23+
latex_documents:
24+
targetname: book.tex
25+
26+
# Add a bibtex file so that we can create citations
27+
bibtex_bibfiles:
28+
- references.bib
29+
30+
# Information about where the book exists on the web
31+
repository:
32+
url: https://github.com/gallantlab/voxelwise_tutorials # Online location of your book
33+
path_to_book: docs # Optional path to your book, relative to the repository root
34+
branch: main # Which branch of the repository should be used when creating links (optional)
35+
36+
# Add GitHub buttons to your book
37+
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
38+
html:
39+
use_issues_button: true
40+
use_repository_button: true
41+
42+
parse:
43+
myst_enable_extensions:
44+
- amsmath
45+
- dollarmath
46+
47+

tutorials/_toc.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Table of contents
2+
# Learn more at https://jupyterbook.org/customize/toc.html
3+
4+
format: jb-article
5+
root: index
6+
sections:
7+
- file: voxelwise_modeling
8+
title: Voxelwise modeling framework
9+
- file: voxelwise_package
10+
title: Helper Python package
11+
- file: notebooks/shortclips/README
12+
title: Shortclips tutorial
13+
sections:
14+
- file: notebooks/shortclips/00_download_shortclips
15+
title: Download the data set
16+
- file: notebooks/shortclips/00_setup_colab
17+
title: Setup Google Colab
18+
- file: notebooks/shortclips/01_plot_explainable_variance
19+
title: Compute the explainable variance
20+
- file: notebooks/shortclips/02_plot_ridge_regression
21+
title: Understand ridge regression and cross-validation
22+
- file: notebooks/shortclips/03_plot_wordnet_model
23+
title: Fit a ridge model with wordnet features
24+
- file: notebooks/shortclips/04_plot_hemodynamic_response
25+
title: Visualize the hemodynamic response
26+
- file: notebooks/shortclips/05_plot_motion_energy_model
27+
title: Fit a ridge model with motion energy features
28+
- file: notebooks/shortclips/06_plot_banded_ridge_model
29+
title: Fit a banded ridge model with both wordnet and motion energy features
30+
- file: notebooks/shortclips/07_extract_motion_energy
31+
title: Extract motion energy features from the stimuli
32+
- file: notebooks/vim2/README
33+
title: Vim-2 tutorial
34+
sections:
35+
- file: notebooks/vim2/00_download_vim2
36+
title: Download the data set from CRCNS
37+
- file: notebooks/vim2/01_extract_motion_energy
38+
title: Extract motion energy features from the stimuli
39+
- file: notebooks/vim2/02_plot_ridge_model
40+
title: Fit a ridge model with motion energy features
41+
- file: references
42+
title: References
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)