Skip to content

Commit 9184a5e

Browse files
authored
DOC add merged notebook with only notebooks for model fitting, change index accordingly (#17)
* ENH add option in makefile to make a reduced version of merged notebooks * Add merged notebooks with model fitting only * Add merged notebook about model fitting to index * DOC fix index * DOC index
1 parent e4efefe commit 9184a5e

3 files changed

Lines changed: 3088 additions & 2 deletions

File tree

doc/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ merge-notebooks:
4747
> $(NBDIR)/merged_for_colab.ipynb
4848
echo "Saved in $(NBDIR)/merged_for_colab.ipynb"
4949

50+
51+
merge-notebooks-model-fitting:
52+
python merge_notebooks.py \
53+
$(NBDIR)/00_setup_colab.ipynb \
54+
$(NBDIR)/01_plot_explainable_variance.ipynb \
55+
$(NBDIR)/03_plot_wordnet_model.ipynb \
56+
$(NBDIR)/05_plot_motion_energy_model.ipynb \
57+
$(NBDIR)/06_plot_banded_ridge_model.ipynb \
58+
> $(NBDIR)/merged_for_colab_model_fitting.ipynb
59+
echo "Saved in $(NBDIR)/merged_for_colab_model_fitting.ipynb"
60+
5061
all:
5162
$(MAKE) html-noplot
5263
$(MAKE) notebooks

doc/index.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ To explore these tutorials, one can:
1919
- run the Jupyter notebooks (`tutorials/notebooks
2020
<https://github.com/gallantlab/voxelwise_tutorials/tree/main/tutorials/notebooks>`_
2121
directory)
22-
- run the merged notebook in
23-
`Google Colab <https://colab.research.google.com/github/gallantlab/voxelwise_tutorials/blob/main/tutorials/notebooks/shortclips/merged_for_colab.ipynb>`_
22+
- run the notebooks in Google Colab:
23+
`all notebooks <https://colab.research.google.com/github/gallantlab/voxelwise_tutorials/blob/main/tutorials/notebooks/shortclips/merged_for_colab.ipynb>`_ or
24+
`only the notebooks about model fitting <https://colab.research.google.com/github/gallantlab/voxelwise_tutorials/blob/main/tutorials/notebooks/shortclips/merged_for_colab_model_fitting.ipynb>`_
2425

2526
The tutorials are best explored in order, starting with the `Shortclips
2627
tutorial <_auto_examples/index.html>`_.

0 commit comments

Comments
 (0)