Result data
Overview Structs
GEMS.DefaultResultDataGEMS.LightRDGEMS.ResultDataGEMS.ResultDataGEMS.ResultDataGEMS.ResultDataGEMS.ResultDataStyle
Overview Functions
GEMS.GEMS_versionGEMS.aggregated_compartment_periodsGEMS.attack_rateGEMS.compartment_fillGEMS.compartment_periodsGEMS.config_fileGEMS.cpu_dataGEMS.cumulative_casesGEMS.cumulative_deathsGEMS.cumulative_disease_progressionsGEMS.cumulative_quarantinesGEMS.cumulative_vaccinationsGEMS.customloggerGEMS.dataframesGEMS.deathsGEMS.detected_tick_casesGEMS.detection_rateGEMS.effectiveRGEMS.execution_dateGEMS.exportJLDGEMS.final_tickGEMS.free_mem_sizeGEMS.git_branchGEMS.git_commitGEMS.git_repoGEMS.household_attack_ratesGEMS.idGEMS.import_resultdataGEMS.infectionsGEMS.infoGEMS.initial_infectionsGEMS.julia_versionGEMS.kernelGEMS.labelGEMS.meta_dataGEMS.model_sizeGEMS.number_of_individualsGEMS.observed_RGEMS.pathogensGEMS.population_fileGEMS.population_pyramidGEMS.population_sizeGEMS.region_infoGEMS.rolling_observed_SIGEMS.setting_dataGEMS.setting_sizesGEMS.sim_dataGEMS.start_conditionGEMS.stop_criterionGEMS.strategiesGEMS.symptom_triggersGEMS.system_dataGEMS.testsGEMS.testtypesGEMS.threadsGEMS.tick_casesGEMS.tick_cases_per_settingGEMS.tick_deathsGEMS.tick_hosptitalizationsGEMS.tick_pooltestsGEMS.tick_serial_intervalsGEMS.tick_serotestsGEMS.tick_testsGEMS.tick_unitGEMS.tick_vaccinationsGEMS.time_to_detectionGEMS.timer_outputGEMS.timer_output!GEMS.total_infectionsGEMS.total_mem_sizeGEMS.total_quarantinesGEMS.total_testsGEMS.word_size
ResultData
Constructors
GEMS.ResultData — Method
ResultData(sim::Simulation; style::String = "DefaultResultData")Create a ResultData object using a Simulation and the name of a ResultDataStyle, that describes the level of detail for the fields to be calculated. This constructor instantiates a default PostProcessor for the passed simulation object. If you want to manually configure the PostProcessor, you need to instantiate it first and pass the PostProcessor to the ResultData constructor instead. Post Processing requires a simulation to be done.
GEMS.ResultData — Method
ResultData(postProcessor::PostProcessor; style::String="")Create a ResultData object using a PostProcessor and a key, that describes the level of detail for the fields to be calculated. Post Processing requires a simulation to be done.
GEMS.ResultData — Method
ResultData(postProcessors::Vector{PostProcessor}; style::String="DefaultResultData", print_infos::Bool = false)Create a vector ResultData objects using a vector of associated PostProcessor objects and a key, that describes the level of detail for the fields to be calculated. Post Processing requires a simulation to be done. It supresses the usual info outputs that are being made during the ResultData generation. If you want to enable them, pass print_infos = true.
GEMS.ResultData — Method
ResultData(sim::Vector{Simulation}; style::String = "DefaultResultData", print_infos::Bool = false)Create a vector ResultData objects using a vector of Simulation objects and the name of a ResultDataStyle, that describes the level of detail for the fields to be calculated. If you want to manually configure the PostProcessor, you need to instantiate it first and pass the PostProcessor to the ResultData constructor instead. Post Processing requires a simulation to be done. It supresses the usual info outputs that are being made during the ResultData generation. If you want to enable them, pass print_infos = true.
Missing docstring for ResultData(::Batch; ::String, ::Bool). Check Documenter's build log for details.
Functions
GEMS.aggregated_compartment_periods — Function
aggregated_compartment_periods(postProcessor::PostProcessor)Calculates the aggregated durations of the disease compartments of all infections and returns a DataFrame containing the normalized counts of durations in each compartment, per pathogen.
The values are normalized by the total number of infections per pathogen to represent the fraction of individuals that spent a certain amount of time in the respective compartment and not just the individuals who were ever in that compartment.
Returns
DataFramewith the following columns:
| Name | Type | Description |
|---|---|---|
pathogen_id | Int8 | Pathogen identifier |
duration | Int16 | Duration in ticks |
total | Float64 | Fraction of individuals with this total duration |
exposed | Float64 | Fraction of individuals with this exposed duration |
infectious | Float64 | Fraction of individuals with this infectious duration |
asymptomatic | Float64 | Fraction of individuals with this asymptomatic duration |
pre_symptomatic | Float64 | Fraction of individuals with this pre-symptomatic duration |
symptomatic | Float64 | Fraction of individuals with this symptomatic duration |
severe | Float64 | Fraction of individuals with this severe duration |
critical | Float64 | Fraction of individuals with this critical duration |
aggregated_compartment_periods(rd::ResultData)Returns the DataFrame with disease state durations (normalized). Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.attack_rate — Method
attack_rate(rd::ResultData)Returns the simulation's attack rate. It's total infections divided by population size. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.compartment_fill — Method
compartment_fill(rd::ResultData)Returns the compartment_fill infections over time. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.compartment_periods — Method
compartment_periods(rd::ResultData)Returns the DataFrame with duration of exposed and infectious states for all infections. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.config_file — Method
config_file(rd::ResultData)Returns the path to the config file
GEMS.cpu_data — Method
cpu_data(rd::ResultData)Returns the processor information (not available for ARM Macs)
GEMS.cumulative_cases — Method
cumulative_cases(rd::ResultData)Returns the cumulative infections over time. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.cumulative_deaths — Method
cumulative_deaths(rd::ResultData)Returns the cumulative deaths over time. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.cumulative_disease_progressions — Method
cumulative_disease_progressions(rd::ResultData)Returns the DataFrame with cumultive number of individuals in certain disease states per tick. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.cumulative_quarantines — Method
cumulative_quarantines(rd::ResultData)Returns the DataFrame with number of isolated individuals per tick Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.cumulative_vaccinations — Method
cumulative_vaccinations(rd::ResultData)Returns the cumulative vaccinations over time. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.customlogger — Method
customlogger(rd::ResultData)Returns the DataFrame of the Simulation object's internal custom logger. Returns an empty dictionary if the data is not available in the input ResultData object.
Missing docstring for data_hash(::ResultData). Check Documenter's build log for details.
GEMS.dataframes — Method
dataframes(rd::ResultData)Returns the dataframes of result data. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.deaths — Method
deaths(rd::ResultData)Returns the deaths DataFrame joined with individuals' attributes. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.detected_tick_cases — Method
detected_tick_cases(rd::ResultData)Returns the detected cases per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.detection_rate — Method
detection_rate(rd::ResultData)Returns the fraction of detected infections. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.effectiveR — Method
effectiveR(rd::ResultData)Returns the Effective R value over time DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.execution_date — Method
execution_date(rd::ResultData)Returns the timestamp of result data generation. Returns an empty dictionary if the data is not available in the input ResultData object.
Missing docstring for execution_date_formatted. Check Documenter's build log for details.
GEMS.exportJLD — Method
exportJLD(rd::ResultData, directory::AbstractString)Exports the ResultData object as a JLD2 file, storing it in the specified directory.
GEMS.final_tick — Method
final_tick(rd::ResultData)Returns the tick counter at the end of the simulation run. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.free_mem_size — Method
free_mem_size(rd::ResultData)Returns the available system memory
GEMS.GEMS_version — Method
GEMS_version(rd::ResultData)Returns the GEMS version this ResultData object was generated with. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.git_branch — Method
git_branch(rd::ResultData)Returns the current git branch.
GEMS.git_commit — Method
git_commit(rd::ResultData)Returns the current git commit.
GEMS.git_repo — Method
git_repo(rd::ResultData)Returns the current git repository.
Missing docstring for hashes(::ResultData). Check Documenter's build log for details.
GEMS.tick_hosptitalizations — Method
tick_hosptitalizations(rd::ResultData)Returns the tests per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.household_attack_rates — Method
household_attack_rates(rd::ResultData)Returns household_attack_rates DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.id — Method
id(rd::ResultData)Returns the unique identifer of the ResultData object.
GEMS.import_resultdata — Function
import_resultdata(filepath::String)Import the ResultData object from a jld2 file. Returns the ResultData object.
GEMS.infections — Method
infections(rd::ResultData)Returns the infection DataFrame joined with individuals' attributes. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
Missing docstring for infections_hash(::ResultData). Check Documenter's build log for details.
GEMS.info — Method
info(rd::ResultData)Prints info about available fields in the ResultData object.
GEMS.initial_infections — Method
initial_infections(rd::ResultData)Returns the number of individuals who are marked as infected during initialization. This happens before the actual simulation run. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.julia_version — Method
julia_version(rd::ResultData)Returns the Julia version that was used to generate this result data object. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.kernel — Method
kernel(rd::ResultData)Returns the system kernel information Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.label — Method
label(rd::ResultData)Returns the lable of the simulation run. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.meta_data — Method
meta_data(rd::ResultData)Returns the meta_data dictionary of the ResultData. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.model_size — Method
model_size(rd::ResultData)Returns the size of the simulation model in memory.
GEMS.number_of_individuals — Method
number_of_individuals(rd::ResultData)Returns the total number of individuals in the population model. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.observed_R — Method
observed_R(rd::ResultData)Returns the observed reproduction number estimation DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.pathogens — Method
pathogens(rd::ResultData)Returns an array of pathogen parameters. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.population_file — Method
population_file(rd::ResultData)Returns the path to the population file Returns an empty dictionary if the data is not available in the input ResultData object.
Missing docstring for population_params(::ResultData). Check Documenter's build log for details.
GEMS.population_pyramid — Method
population_pyramid(rd::ResultData)Returns the DataFrame required to plot population pyramid (age, sex, count) Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.population_size — Method
population_size(rd::ResultData)Returns the size of the population model in memory.
GEMS.region_info — Method
region_info(rd::ResultData)Returns a Dataframe with population size and area per municiaplity (if model is geolocalized). Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.rolling_observed_SI — Method
rolling_observed_SI(rd::ResultData)Returns the rolling observed serial interval DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.setting_data — Method
setting_data(rd::ResultData)Returns a DataFrame containing information on all setting types. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.setting_sizes — Method
setting_sizes(rd::ResultData)Returns a Dictionary containing information on all setting sizes. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.sim_data — Method
sim_data(rd::ResultData)Returns the sim_data of result data. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.start_condition — Method
start_condition(rd::ResultData)Returns the StartCondition object the simulation was initialized with. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.stop_criterion — Method
stop_criterion(rd::ResultData)Returns the StopCriterion object of the simulation. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.strategies — Method
strategies(rd::ResultData)Returns the strategies included in the simulation. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.symptom_triggers — Method
symptom_triggers(rd::ResultData)Returns the symptom triggers included in the simulation. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.system_data — Method
system_data(rd::ResultData)Returns the system_data of result data. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tests — Method
tests(rd::ResultData)Returns the tests DataFrame . Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.testtypes — Method
testtypes(rd::ResultData)Returns the test types included in the simulation. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.threads — Method
threads(rd::ResultData)Returns the number of threads this Julia instance was started with.
GEMS.tick_cases — Method
tick_cases(rd::ResultData)Returns the infections per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_cases_per_setting — Method
tick_cases_per_setting(rd::ResultData)Returns the tests per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_deaths — Method
tick_deaths(rd::ResultData)Returns the deaths per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
Missing docstring for tick_generation_times(::ResultData). Check Documenter's build log for details.
GEMS.tick_pooltests — Method
tick_pooltests(rd::ResultData)Returns the pool tests per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_serial_intervals — Method
tick_serial_intervals(rd::ResultData)Returns the serial intervals per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_serotests — Method
tick_serotests(rd::ResultData)Returns the seroprevalence-tests per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_tests — Method
tick_tests(rd::ResultData)Returns the tests per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_unit — Method
tick_unit(rd::ResultData)Returns the unit of time that one tick corresponds to. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.tick_vaccinations — Method
tick_vaccinations(rd::ResultData)Returns the vaccinations per tick DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.time_to_detection — Method
time_to_detection(rd::ResultData)Returns time to detection DataFrame. Look up the PostProcessor docs to find the column definitions. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.timer_output! — Method
timer_output!(rd::ResultData, timer_output::TimerOutput)Sets the TimerOutput object for a ResultData object
GEMS.timer_output — Method
timer_output(rd::ResultData)Returns the TimerOutput object used to supply debug report with execution time information Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.total_infections — Method
total_infections(rd::ResultData)Returns the row count of the PostProcessors' infections-DataFrame. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.total_mem_size — Method
total_mem_size(rd::ResultData)Returns the total system memory
GEMS.total_quarantines — Method
total_quarantines(rd::ResultData)Returns the total quarantined agent over the course of the simulation. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.total_tests — Method
total_tests(rd::ResultData)Returns a dictionary with the the total number of tests per TestType. Returns an empty dictionary if the data is not available in the input ResultData object.
GEMS.word_size — Method
word_size(rd::ResultData)Returns the system word size.
ResultDataStyle
Constructors
GEMS.ResultDataStyle — Type
ResultDataStyleAbstract type, whose implementations define the structure of a ResutltData object.
GEMS.DefaultResultData — Type
DefaultResultData <: ResultDataStyleThe default style for ResultData objects. It contains all that can currently be calculated in the PostProcessor. Therefore, it is both, the most comprehensive and computationally intensive (memory & runtime) option.
Fields
data::Dict{String, Any}:meta_data::Dict{String, Any}timer_output::TimerOutput: TimerOutput objectexecution_date::String: Time this ResultData object was generatedGEMS_version::VersionNumber: GEMS version this ResultData object was generated withconfig_file::String: Path to the config fileconfig_file_val::Dict{String, Any}: Deep copy of the supplied TOML config filepopulation_file::String: Path to the population filepopulation_params::Dict{String, Any}: Parameters used to generate population
sim_data::Dict{String, Any}label::String: Label of this simulation run (needed for plotting)final_tick::Int16: Tick counter at the end of the simulation runnumber_of_individuals::Int64: Total number of individuals in the population modelr0::DataFrame: Per-pathogen basic reproduction number (pathogen_id,r0)initial_infections::DataFrame: Per-pathogen seeding infection counts (pathogen_id,initial_infections)total_infections::DataFrame: Per-pathogen total infection counts (pathogen_id,total_infections)attack_rate::DataFrame: Per-pathogen attack rate (pathogen_id,attack_rate)setting_data::DataFrame: DataFrame containing information on all setting typessetting_sizes::Dict{Any, Any}: Dictionary containing the setting sizes distributions for all included settingtypesregion_info::Dataframe: Municipality population size and area (if geolocalized model is used)pathogens::Vector{Pathogen}: Array of all pathogen parameters in this simulationvaccine::Vaccine: Vaccine parameter [CURRENTLY DEACTIVATED]vaccination_strategy::VaccineScheduler: Vaccination strategy used in this model [CURRENTLY DEACTIVATED]tick_unit::String: Unit of time that one tick corresponds tostart_condition::StartCondition: Initial setup of the simulationstop_criterion::StopCriterion: Termination conditionsstrategies::Vector{Strategy}: Intervention strategiessymptom_triggers::Vector{ITrigger}: Strategies that are triggered upon experiencing symptomstesttypes::Vector{AbstractTestType}: Test types used in the model (e.g. Antigen Tests)total_quarantines::Int64: Total person-ticks (e.g. days) spent in isolationtotal_tests::DataFrame: Per-pathogen test counts (test_type,pathogen_id,count)detection_rate::DataFrame: Per-pathogen fraction of detected infections (pathogen_id,detection_rate)
system_data::Dict{String, Any}kernel::String: System kerneljulia_version::String: Julia version that was used to generate this data objectword_size::Int64: System word sizethreads::Int64: Number of threads this Julia instance was started withcpu_data::Markdown.MD: Information on the processor (not available for ARM Macs)total_mem_size::Float64: Total system memoryfree_mem_size::Float64: Available system memorygit_repo::SubString{String}: Current Git repositorygit_branch::SubString{String}: Current Git branchgit_commit::SubString{String}: Current Git commit IDmodel_size::Int64: Size of the simulation model in memory [CURRENTLY DACTIVATED]population_size::Int64: Size of the population model in memory [CURRENTLY DACTIVATED]
setting_age_contacts::Dict{String, Any}Household: age X age contact matrix for Households based on sampled data [CURRENTLY DACTIVATED]GlobalSetting: age X age contact matrix for GlobalSettings based on sampled data [CURRENTLY DACTIVATED]
aggregated_setting_age_contacts::Dict{String, Any}Household::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Households based on sampled dataSchoolClass::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for SchoolClass based on sampled dataSchool::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for School based on sampled dataSchoolComplex::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for SchoolComplex based on sampled dataOffice::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Office based on sampled dataDepartment::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Department based on sampled dataWorkplace::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Workplace based on sampled dataWorkplaceSite::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for WorkplaceSite based on sampled dataMunicipality::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Municipality based on sampled dataGlobalSetting::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for GlobalSetting based on sampled data
dataframes::Dict{String, Any}infections::DataFrame: Infection data joined with individuals' attributesvaccinations::DataFrame: Vaccination data joined with individuals' attributesdeaths::DataFrame: Death data joined with individuals' attributestests::DataFrame: Test data joined with individuals' attributeseffectiveR::DataFrame: Effective R value over timecompartment_periods::DataFrame: Duration of exposed and infectious states for all infectionsaggregated_compartment_periods::DataFrame: Statistics on time individuals spend in each disease compartmenttick_cases::DataFrame: Infections per ticktick_deaths::DataFrame: Deaths per ticktick_vaccinations::DataFrame: Vaccinations per ticktick_serial_intervals::DataFrame: Aggregated data on serial intervals per ticktick_generation_times::DataFrame: Aggregated data on generation timess per ticktick_tests::DataFrame: Number of tests performed per ticktick_pooltests::DataFrame: Number of (pooled) tests per ticktick_serotests::DataFrame: Number of seroprevalence-tests performed per ticktick_cases_per_setting::DataFrame: Tick cases aggregated by settingtype,detected_tick_cases::DataFrame: Number of detected infections per tickcompartment_fill::DataFrame: Number of individuals currently in any of the disease compartmentscumulative_cases::DataFrame: Cumulative infections over timecumulative_deaths::DataFrame: Cumulative deaths over timecumulative_vaccinations::DataFrame: Cumulative vaccinations over timecumulative_disease_progressions::DataFrame: Cumulative information on disease states N ticks after exposurecumulative_quarantines::DataFrame: Number of quarantined individuals per tickage_incidence::DataFrame: Incidence over time stratified by age groupspopulation_pyramid::DataFrame: Data required to plot population pyramid (age, sex, count)rolling_observed_SI::DataFrame: Serial interval estimation based on the last 14 days of detected casesobserved_R::DataFrame: Reproduction number estimation based on detected cases and the SI estimationtick_hosptitalizations::DataFrame: DataFrame containing the daily hospitalizations etc.time_to_detection::DataFrame: Statistics on the time between exposure and first detection of an infection through a testhousehold_attack_rates::DataFrame: Statistics on the seconary infections in householdscustomlogger::DataFrame: Dataframe obtained from any custom logger that might have been setweekly_county_incidence::DataFrame: DataFrame with 7-day incidence per 100,000 per county and week (only for georeferential population models)r0_per_county::DataFrame: DataFrame with basic reproduction number per county
GEMS.LightRD — Type
LightRD <: ResultDataStyleSimilar to the default style for ResultData objects but without any raw data (e.g. the ìnfections-, deaths- or tests- dataframes) as the raw data makes around 80% of the DefaultResultData style memory footprint. It contains everything that can currently be calculated in the PostProcessor.
This RD-style cannot be used to generate geographical maps or infection videos.
Fields
data::Dict{String, Any}: Dictionary holding the following sub-dictionariesmeta_data::Dict{String, Any}timer_output::TimerOutput: TimerOutput object
(Note: This data is only available if the simulation runs were done via the
main()function)execution_date::String: Time this ResultData object was generatedGEMS_version::VersionNumber: GEMS version this ResultData object was generated withconfig_file::String: Path to the config fileconfig_file_val::Dict{String, Any}: Deep copy of the supplied TOML config filepopulation_file::String: Path to the population filepopulation_params::Dict{String, Any}: Parameters used to generate population
sim_data::Dict{String, Any}label::String: Label of this simulation run (needed for plotting)final_tick::Int16: Tick counter at the end of the simulation runnumber_of_individuals::Int64: Total number of individuals in the population modelr0::DataFrame: Per-pathogen basic reproduction number (pathogen_id,r0)initial_infections::DataFrame: Per-pathogen seeding infection counts (pathogen_id,initial_infections)total_infections::DataFrame: Per-pathogen total infection counts (pathogen_id,total_infections)attack_rate::DataFrame: Per-pathogen attack rate (pathogen_id,attack_rate)setting_data::DataFrame: DataFrame containing information on all setting typessetting_sizes::Dict{Any, Any}: Dictionary containing the setting sizes distributions for all included settingtypesregion_info::Dataframe: Municipality population size and area (if geolocalized model is used)pathogens::Vector{Pathogen}: Array of all pathogen parameters in this simulationtick_unit::String: Unit of time that one tick corresponds tostart_condition::StartCondition: Initial setup of the simulationstop_criterion::StopCriterion: Termination conditionsstrategies::Vector{Strategy}: Intervention strategiessymptom_triggers::Vector{ITrigger}: Strategies that are triggered upon experiencing symptomstesttypes::Vector{AbstractTestType}: Test types used in the model (e.g. Antigen Tests)total_quarantines::Int64: Total person-ticks (e.g. days) spent in isolationtotal_tests::DataFrame: Per-pathogen test counts (test_type,pathogen_id,count)detection_rate::DataFrame: Per-pathogen fraction of detected infections (pathogen_id,detection_rate)
system_data::Dict{String, Any}kernel::String: System kerneljulia_version::String: Julia version that was used to generate this data objectword_size::Int64: System word sizethreads::Int64: Number of threads this Julia instance was started withcpu_data::Markdown.MD: Information on the processor (not available for ARM Macs)total_mem_size::Float64: Total system memoryfree_mem_size::Float64: Available system memorygit_repo::SubString{String}: Current Git repositorygit_branch::SubString{String}: Current Git branchgit_commit::SubString{String}: Current Git commit IDmodel_size::Int64: Size of the simulation model in memory [CURRENTLY DACTIVATED]population_size::Int64: Size of the population model in memory [CURRENTLY DACTIVATED]
aggregated_setting_age_contacts::Dict{String, Any}Household::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Households based on sampled dataSchoolClass::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for SchoolClass based on sampled dataSchool::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for School based on sampled dataSchoolComplex::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for SchoolComplex based on sampled dataOffice::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Office based on sampled dataDepartment::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Department based on sampled dataWorkplace::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Workplace based on sampled dataWorkplaceSite::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for WorkplaceSite based on sampled dataMunicipality::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for Municipality based on sampled dataGlobalSetting::ContactMatrix{Float64}:age groupxage group"ContactMatrix" object for GlobalSetting based on sampled data
dataframes::Dict{String, Any}effectiveR::DataFrame: Effective R value over timetick_cases::DataFrame: Infections per ticktick_deaths::DataFrame: Deaths per ticktick_serial_intervals::DataFrame: Aggregated data on serial intervals per ticktick_generation_times::DataFrame: Aggregated data on generation timess per ticktick_tests::DataFrame: Number of tests performed per ticktick_pooltests::DataFrame: Number of (pooled) tests per ticktick_serotests::DataFrame: Number of seroprevalence-tests performed per ticktick_cases_per_setting::DataFrame: Tick cases aggregated by settingtype,detected_tick_cases::DataFrame: Number of detected infections per tickcompartment_fill::DataFrame: Number of individuals currently in any of the disease compartmentsaggregated_compartment_periods::DataFrame: Statistics on time individuals spend in each disease compartmentcumulative_cases::DataFrame: Cumulative infections over timecumulative_deaths::DataFrame: Cumulative deaths over timecumulative_disease_progressions::DataFrame: Cumulative information on disease states N ticks after exposurecumulative_quarantines::DataFrame: Number of quarantined individuals per tickage_incidence::DataFrame: Incidence over time stratified by age groupspopulation_pyramid::DataFrame: Data required to plot population pyramid (age, sex, count)rolling_observed_SI::DataFrame: Serial interval estimation based on the last 14 days of detected casesobserved_R::DataFrame: Reproduction number estimation based on detected cases and the SI estimationtick_hosptitalizations::DataFrame: DataFrame containing the daily hospitalizations etc.time_to_detection::DataFrame: Statistics on the time between exposure and first detection of an infection through a testhousehold_attack_rates::DataFrame: Statistics on the seconary infections in householdscustomlogger::DataFrame: Dataframe obtained from any custom logger that might have been set