src.simulation.scenario_config

Module Contents

Functions

create_path_to_last_states_of_simulation(name, seed)

create_path_to_raw_rapid_test_statistics(name, seed)

create_path_to_period_outputs_of_simulation(name, seed)

Return the path to the simulation results with the period outcomes.

create_path_to_share_known_cases_of_scenario(name, groupby)

create_path_to_scenario_outcome_time_series(scenario_name, entry)

create_path_to_rapid_test_statistic_time_series(scenario_name, entry)

create_path_to_share_known_cases_plot(name, groupby)

create_path_to_group_incidence_plot(name, outcome, groupby)

create_path_for_weekly_outcome_of_scenario(comparison_name, fast_flag, outcome, suffix)

get_named_scenarios()

Get the named scenarios.

get_available_scenarios(named_scenarios)

Attributes

SPRING_START[source]
INCIDENCE_OUTCOMES = ['newly_infected', 'new_known_case', 'newly_deceased', 'currently_infected', 'knows_currently_infected'][source]
NON_INCIDENCE_OUTCOMES = ['ever_vaccinated', 'r_effective', 'share_ever_rapid_test', 'share_rapid_test_in_last_week',...[source]
create_path_to_last_states_of_simulation(name, seed)[source]
create_path_to_raw_rapid_test_statistics(name, seed)[source]
create_path_to_period_outputs_of_simulation(name, seed)[source]

Return the path to the simulation results with the period outcomes.

create_path_to_share_known_cases_of_scenario(name, groupby)[source]
create_path_to_scenario_outcome_time_series(scenario_name, entry)[source]
create_path_to_rapid_test_statistic_time_series(scenario_name, entry)[source]
create_path_to_share_known_cases_plot(name, groupby)[source]
create_path_to_group_incidence_plot(name, outcome, groupby)[source]
create_path_for_weekly_outcome_of_scenario(comparison_name, fast_flag, outcome, suffix)[source]
get_named_scenarios()[source]

Get the named scenarios.

Returns

Nested dictionary. The outer keys are the names of the scenarios. The

inner dictionary are the specs passed to load_simulation_inputs and contains ‘start_date’, ‘end_date’, ‘sim_input_scenario’, ‘params_scenario’ and ‘n_seeds’.

Return type

dict

get_available_scenarios(named_scenarios)[source]