if '..' not in sys.path: sys.path.append('..') import random as rd import pandas as pd from lib.measures import * from lib.experiment import Experiment, options_to_str, process_command_line from lib.calibrationFunctions import get_calibrated_params, get_calibrated_params_from_path TO_HOURS = 24.0 if __name__ == '__main__': # command line parsing args = process_command_line() country = args.country area = args.area cpu_count = args.cpu_count continued_run = args.continued name = 'baseline' start_date = '2021-01-01' end_date = '2021-05-01' random_repeats = 100 full_scale = True verbose = True seed_summary_path = None set_initial_seeds_to = {} if args.background_exposures: expected_daily_base_expo_per100k = args.background_exposures
from lib.calibrationFunctions import get_calibrated_params, downsample_cases from beta_scaling_factors import * if __name__ == '__main__': name = 'calibration-check' random_repeats = 96 plot = True verbose = True seed_summary_path = None set_initial_seeds_to = None debugmode = False maxBOiters = None # command line parsing parser = process_command_line(return_parser=True) parser.add_argument("--plot_only", default=False) parser.add_argument("--no_agegroups", default=False) args = parser.parse_args() country = args.country area = args.area plot_only = args.plot_only no_agegroups = args.no_agegroups # Simulations exps = { 'downscaled': { 'full_scale': False, 'beta_scaling': 1.0 }, 'full': {