Can now set any initial patients to have some duration already "spent", so it looks more like steady state at beginning. Simulation will first pick a duration for the first state usual, but for initial patients will randomly decide to take off say 1 days (with 30% proba), 2 days (with 10% proba) or more. Will always leave at least 1 day in the initial state.
To specify the distribution, use syntax like below -- pmf_initial_duration_spent_{state} -- :
Several big changes here (to Workflows and to core Simulation syntax)
Changes to workflows
Added workflow fixinit_20200420
Updated plot functionality
Changes to params.json and run_forecast.py/PatientTrajectory.py
Rename parameter that provides initial counts "initnum{state}" instead of "num_{state}"
Can now do "slow ramp" initialization, where params.json provides incoming counts for last Tpast days (using --num_past_timesteps kwarg).
Use syntax like this in params to say (add 15 subjects 3 days ago, 10 subjects 2 days ago, 5 subjects 1 ago, and 0 now:
To specify the distribution, use syntax like below --
pmf_initial_duration_spent_{state}
-- :