reporters.py¶
add_5daily_reports(task, manifest, sim_start_year, num_year, tot_year=None, yr_plusone=True, age_bins=[0.5, 1, 2, 5, 10, 15, 20, 125], detection_threshold=0, prefix='FiveDaily_')
¶
Adds 5 daily reports to the simulation task. Args: task: The simulation task object. manifest: The manifest object containing the necessary information. sim_start_year: The starting year of the simulation. num_year: The number of years to add monthly reports for. tot_year: The total number of years of the simulation. If None, it is set to num_year. yr_plusone: Whether to add an extra year to the reporting. If True, reports will cover num_year + 1 years. If False, reports will cover num_year years. age_bins: The age bins for reporting. prefix: The prefix to be used for the report filenames. Raises: ValueError: If num_year is greater than tot_year. Returns: None
Source code in EMOD\functions\reporters.py
add_annual_reports(task, manifest, sim_start_year, num_year, tot_year=None, yr_plusone=True, age_bins=[0.5, 1, 2, 5, 10, 15, 20, 125], detection_threshold=0, prefix='Annual_', ipfilter='')
¶
Adds annual reports to the simulation task. Args: task: The simulation task object. manifest: The manifest object containing the necessary information. sim_start_year: The starting year of the simulation. num_year: The number of years to add monthly reports for. tot_year: The total number of years of the simulation. If None, it is set to num_year. yr_plusone: Whether to add an extra year to the reporting. If True, reports will cover num_year + 1 years. If False, reports will cover num_year years. age_bins: The age bins for reporting. prefix: The prefix to be used for the report filenames. Raises: ValueError: If num_year is greater than tot_year. Returns: None
Source code in EMOD\functions\reporters.py
add_daily_reports(task, manifest, sim_start_year, num_year, tot_year=None, yr_plusone=True, age_bins=[0.5, 1, 2, 5, 10, 15, 20, 125], detection_threshold=0, prefix='Daily_')
¶
Adds daily reports to the simulation task. Args: task: The simulation task object. manifest: The manifest object containing the necessary information. sim_start_year: The starting year of the simulation. num_year: The number of years to add monthly reports for. tot_year: The total number of years of the simulation. If None, it is set to num_year. age_bins: The age bins for reporting. prefix: The prefix to be used for the report filenames. Raises: ValueError: If num_year is greater than tot_year. Returns: None
Source code in EMOD\functions\reporters.py
add_monthly_reports(task, manifest, sim_start_year, num_year, tot_year=None, yr_plusone=True, age_bins=[0.5, 1, 2, 5, 10, 15, 20, 125], detection_threshold=0, prefix='Monthly_')
¶
Adds monthly reports to the simulation task. Args: task: The simulation task object. manifest: The manifest object containing the necessary information. sim_start_year: The starting year of the simulation. num_year: The number of years to add monthly reports for. tot_year: The total number of years of the simulation. If None, it is set to num_year. yr_plusone: Whether to add an extra year to the reporting. If True, reports will cover num_year + 1 years. If False, reports will cover num_year years. age_bins: The age bins for reporting. prefix: The prefix to be used for the report filenames. Raises: ValueError: If num_year is greater than tot_year. Returns: None