You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| School closure | School | 1.0 | All school contacts eliminated |
179
179
| Home-office mandate | Work | 0.5 | Work contacts reduced by 50 % |
180
-
| Public transport restriction | Other | 0.8 | Other contacts reduced by 80 % |
180
+
| Public transport restriction and venue closures | Other | 0.8 | Other contacts reduced by 80 % |
181
181
182
182
The key difference from Tutorial 3 is that each `Damping` is applied to a **specific location matrix** by indexing `cont_freq_mat[location_index]` before calling `add_damping`. In Tutorial 3, `add_damping` was called on the whole group, reducing **all** contact matrices simultaneously. Home contacts are left unrestricted here, but they cannot fall below the minimum of 1 contact/day regardless.
0 commit comments