Skip to content

Total pop calibration#506

Merged
RomeshA merged 5 commits into
developfrom
total_pop_calibration
Jul 12, 2024
Merged

Total pop calibration#506
RomeshA merged 5 commits into
developfrom
total_pop_calibration

Conversation

@phillipluong
Copy link
Copy Markdown
Contributor

Edit the objective function calculation to allow the Measurables to use total population data ('Total').

The total population calculation is calculated using the PlotData function.

All four inputs (measurable, target population, weight, metric)
Example:
cal = P.calibrate(max_time=100, parset=cal, adjustables=['infx'], measurables=[('chronic_total', 'Total', 1.0, 'fractional')])

if the population for a measurable is 'total', then we will use the PlotData object to collect the timeseries for the total value of the measurable, which will then be used to calculate the objective function
@RomeshA RomeshA merged commit e5d6857 into develop Jul 12, 2024
@RomeshA RomeshA deleted the total_pop_calibration branch July 12, 2024 04:35
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.

3 participants