Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 79c8821

Browse files
authored
Fix code in exercises (#3)
* Use consistent part and file numbering * Add missing import * Rename solutions to match excercises * Sync code cell between exercice and solution * Update order to match planned speaking order * Update copyright for some reason this defaults to 2023 according to the docs? [1] [1] https://jupyterbook.org/en/stable/customize/config.html#configuration-defaults * Reorder speakers according to review and add Peter as well.
1 parent 4666d62 commit 79c8821

12 files changed

+20
-17
lines changed
File renamed without changes.

tutorial/01_image_filtering.md renamed to tutorial/02_image_filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ kernelspec:
2020

2121
+++ {"slideshow": {"slide_type": "slide"}}
2222

23-
# Image filtering
23+
# Part 2: Image filtering
2424

2525
+++ {"slideshow": {"slide_type": "notes"}}
2626

tutorial/02_segmentation_and_measuring.md renamed to tutorial/03_segmentation_and_measuring.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ kernelspec:
1818
%config InlineBackend.figure_format = 'retina'
1919
```
2020

21-
# Segmentation
21+
# Part 3: Segmentation
2222

2323
--------------
2424

@@ -40,6 +40,7 @@ Here is a very simple image and segmentation, taken from [this scikit-image gall
4040

4141
```{code-cell} ipython3
4242
import numpy as np
43+
import matplotlib.pyplot as plt
4344
from scipy import ndimage as ndi
4445
4546
import napari

tutorial/03_adv0_make_a_plugin.md renamed to tutorial/04_adv0_make_a_plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Creating a napari plugin
1+
# Part 4: Creating a napari plugin
22

33
## Overview
44

tutorial/04_deep_learning_segmentation.md renamed to tutorial/05_deep_learning_segmentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ kernelspec:
1111
name: python3
1212
---
1313

14-
# What about deep learning
14+
# Part 5: What about deep learning
1515

1616
Deep learning-based segmentation is getting extremely good, so why learn "the
1717
classics"? A few reasons:

tutorial/_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
# Learn more at https://jupyterbook.org/customize/config.html
33

44
title: Image analysis and visualization in Python with scikit-image, napari, and friends
5-
author: Jordão Bragantini, Erick Martins Ratamero, Stéfan van der Walt, Lars Grüter, and previous contributors
5+
author: Lars Grüter, Stéfan van der Walt, Jordão Bragantini, Erick Martins Ratamero, Peter Sobolewski and previous contributors
66
logo: logo.ico
7+
copyright: "2024"
78

89
# Only build files in the table of contents.
910
only_build_toc_files: true

tutorial/_toc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ format: jb-book
55
root: index
66
chapters:
77
- file: install_dependencies
8-
- file: 00_images_are_arrays
9-
- file: 01_image_filtering
10-
- file: 02_segmentation_and_measuring
11-
- file: 03_adv0_make_a_plugin
12-
- file: 04_deep_learning_segmentation
8+
- file: 01_images_are_arrays
9+
- file: 02_image_filtering
10+
- file: 03_segmentation_and_measuring
11+
- file: 04_adv0_make_a_plugin
12+
- file: 05_deep_learning_segmentation

tutorial/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ unstuck!
2121
## Instructors
2222

2323
The instructors for this workshop are
24+
- Lars Grüter
25+
- Stefan van der Walt
2426
- Jordão Bragantini
2527
- Erick Martins Ratamero
26-
- Stefan van der Walt
27-
- Lars Grüter
28+
- Peter Sobolewski
2829

2930

3031
## Goals

tutorial/install_dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(install-dependencies)=
2-
# Install Python and dependencies
2+
# Part 0: Install Python and dependencies
33

44
```{tip}
55
If you have any issues with installation, head over to our Zulip servers where we can help you get

tutorial/solved/01_image_filtering.md renamed to tutorial/solved/02_image_filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ kernelspec:
2020

2121
+++ {"slideshow": {"slide_type": "slide"}}
2222

23-
# Image filtering
23+
# Part 2: Image filtering
2424

2525
+++ {"slideshow": {"slide_type": "notes"}}
2626

tutorial/solved/02_segmentation_and_measuring.md renamed to tutorial/solved/03_segmentation_and_measuring.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jupytext:
44
extension: .md
55
format_name: myst
66
format_version: 0.13
7-
jupytext_version: 1.14.7
7+
jupytext_version: 1.16.2
88
kernelspec:
99
display_name: Python 3 (ipykernel)
1010
language: python
@@ -18,7 +18,7 @@ kernelspec:
1818
%config InlineBackend.figure_format = 'retina'
1919
```
2020

21-
# Segmentation
21+
# Part 3: Segmentation
2222

2323
--------------
2424

@@ -39,8 +39,8 @@ Computationally, segmentations are most often represented as images, of the same
3939
Here is a very simple image and segmentation, taken from [this scikit-image gallery example](https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_watershed.html#sphx-glr-auto-examples-segmentation-plot-watershed-py):
4040

4141
```{code-cell} ipython3
42-
import matplotlib.pyplot as plt
4342
import numpy as np
43+
import matplotlib.pyplot as plt
4444
from scipy import ndimage as ndi
4545
4646
import napari

0 commit comments

Comments
 (0)