Skip to content

add damping tutorial & exercise - #1

Merged
xsaschako merged 2 commits into
mainfrom
add_damping_levels_tutorial
Oct 20, 2026
Merged

xsaschako merged 2 commits into
mainfrom
add_damping_levels_tutorial

Conversation

@charlie0614

Copy link
Copy Markdown
Member

No description provided.

@xsaschako xsaschako left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, got minor comments, next time please specify in the PR what to look out for, thank youuu

Comment thread tutorial03_02.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tutorial name doesn't adhere to prior naming scheme but maybe intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer to keep it aligned with the present naming scheme, but this would require to change it everywhere we mention the tutorials, i.e. documentation. Therefore we decided to name it like this. But not sure we want to keep it, maybe discuss?

Comment thread tutorial03_02.py
Comment thread exercises/exercise03_02.py
ax.plot(time, result_array[1 + int(osecir.InfectionState.InfectedSevere), :], label='Infected Severe')
ax.plot(time, result_array[1 + int(osecir.InfectionState.InfectedCritical), :], label='Infected Critical')

for t_damping, label in [(10, 'school + office closure'), (25, 'mask mandate'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it renders for me ( nice graphic btw) but the annotations are slightly hard to read because they are on the lines of the states... I dont know how to fix it and maybe not necessary but maybe think abouztit

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put them above the box. Better?

@xsaschako
xsaschako merged commit 93fbb04 into main Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants