-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add calculate processes function to pipeline #314
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #314 +/- ##
=======================================
Coverage 93.18% 93.18%
=======================================
Files 50 50
Lines 528 528
=======================================
Hits 492 492
Misses 36 36 ☔ View full report in Codecov by Sentry. |
b3acecf
to
cd4f16c
Compare
I've kept the functionality the same here, but added an internal method for seeding the infections. The backwards exponential is now a default dispatching on the pipeline type. This should make it easier to address new functionality later as flagged by @seabbs . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea
This PR adds a function that calculates the three process targets for inference:
Adds a simple
rt
calculation, and wrapsEpiAware.expected_Rt
, but with left truncation effect dealt with backwards exponential growth according to first value ofrt
.Closes #116