-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Demo vignettes and a few related changes. (#87)
Vignettes originally created for Joe's Italy conference in late 2023. Changes the SIRH IPM param `hospitalization_rate` to `hospitalization_prob`. Adds some utility cache/plots functions. Adds star exports to `epymorph.geo` Fixes a minor potential bug in Census ADRIO. Adds a few more numpy functions to the epymorph function namespace.
- Loading branch information
Tyler
authored
Feb 1, 2024
1 parent
c48a15b
commit 5981dae
Showing
12 changed files
with
1,319 additions
and
11 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""epymorph's geo package and exports""" | ||
from epymorph.geo.spec import (AttribDef, CentroidDType, DateAndDuration, | ||
DateRange, DynamicGeoSpec, Geography, GeoSpec, | ||
NonspecificDuration, SpecificTimePeriod, | ||
StaticGeoSpec, TimePeriod, Year) | ||
|
||
__all__ = [ | ||
'AttribDef', | ||
'CentroidDType', | ||
'DateAndDuration', | ||
'DateRange', | ||
'DynamicGeoSpec', | ||
'Geography', | ||
'GeoSpec', | ||
'NonspecificDuration', | ||
'SpecificTimePeriod', | ||
'StaticGeoSpec', | ||
'TimePeriod', | ||
'Year', | ||
# TODO: these imports cause circular deps | ||
# 'DynamicGeo', | ||
# 'StaticGeo', | ||
# 'save_to_cache', | ||
# 'load_from_cache', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters