Post processing

Overview Structs

Overview Functions

Structs

GEMS.PostProcessorType
PostProcessor

A type to provide data processing features supplying reports, plots, or other data analyses.

Internal Fields

  • simulation::Simulation: Simulation object
  • infectionsDF::DataFrame: Infections (joined with popuation to get information on infeter and infectee)
  • populationDF::DataFrame: Population dataframe with one row per individual
  • vaccinationsDF::DataFrame: Output of the vaccination logger
  • deathsDF::DataFrame: Output of the death logger
  • testsDF::DataFrame: Output of the test logger
  • pooltestsDF::DataFrame: Output of the pool test logger
  • serotestsDF::DataFrame: Output of the seroprevalence test logger
  • quarantinesDF::DataFrame: Output of th quarantine logger
  • cache::Dict{String, Any}: Internal cache to store and retrieve intermediate results

Constructors

GEMS.PostProcessorMethod
PostProcessor(simulation::Simulation)

Create a PostProcessor object for an associated Simulation. Post Processing requires a simulation to be done.

GEMS.PostProcessorMethod
PostProcessor(simulations::Vector{Simulation})

Create a vector of PostProcessor objects for a vector of associated Simulation objects. Post Processing requires all simulations to be done.

Missing docstring.

Missing docstring for PostProcessor(::Batch). Check Documenter's build log for details.

Functions

GEMS.age_incidenceFunction
age_incidence(postProcessor::PostProcessor, timespan::Int64, basesize::Int64)
age_incidence(postProcessor::PostProcessor; timespan::Int64 = 7, basesize::Int64 = 100_000)

Returns a DataFrame containing the infection incidence stratified by (10-year) age groups, per pathogen.

Parameters

  • postProcessor::PostProcessor: Post processor instance
  • timespan::Int64: Reference time window to calculate incidence
  • basesize::Int64: Reference population size to calculate incidence

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
totalFloat64Total incidence
a0_10Float64Incidence in age cohort 0-10
a11_20Float64Incidence in age cohort 11-20
a21_30Float64Incidence in age cohort 21-30
a31_40Float64Incidence in age cohort 31-40
a41_50Float64Incidence in age cohort 41-50
a51_60Float64Incidence in age cohort 51-60
a61_70Float64Incidence in age cohort 61-70
a71_80Float64Incidence in age cohort 71-80
a81_90Float64Incidence in age cohort 81-90
a91_100Float64Incidence in age cohort 91-100
age_incidence(rd::ResultData)

Returns a DataFrame with incidence over time stratified by age groups. 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_rateMethod
attack_rate(postProcessor::PostProcessor)

Divides the number of individuals who have been infected one (or multiple) time(s) by the total number of individuals, stratified by pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
pathogen_idInt8Pathogen identifier
attack_rateFloat64Fraction of population infected by this pathogen
GEMS.compartment_fillMethod
compartment_fill(postProcessor::PostProcessor)

Returns a DataFrame containing the per-tick population state counts.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
exposed_cntInt64Total number of individuals in the exposed state
infectious_cntInt64Total number of individuals in the infectious state
dead_cntInt64Total number of individuals in the deceased state
detected_cntInt64Total number of detected individuals
quarantinedInt64Total number of individuals in quarantine
quarantined_studentsInt64Students in quarantine
isolated_studentsInt64Students in quarantine who are infected
unable_to_attend_studentsInt64Students unable to attend (closed class, severe, hospitalized, or quarantined)
quarantined_workersInt64Workers in quarantine
isolated_workersInt64Workers in quarantine who are infected
unable_to_attend_workersInt64Workers unable to attend (closed office, severe, hospitalized, or quarantined)
GEMS.compartment_periodsMethod
compartment_periods(postProcessor::PostProcessor)

Calculates the durations of the disease compartments of all infections and returns a DataFrame containing all additional infectee-related information, per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
infection_idInt32Infectee id
pathogen_idInt8Pathogen identifier
totalInt16Total duration of infection in ticks
exposedInt16Duration of the exposed period in ticks
infectiousInt16Duration of the infectious period in ticks
asymptomaticInt16Duration of the asymptomatic period in ticks
pre_symptomaticInt16Duration of the pre-symptomatic period in ticks
symptomaticInt16Duration of the symptomatic period in ticks
severeInt16Duration of the severe period in ticks
criticalInt16Duration of the critical period in ticks

Host-level care periods (hospital/ICU/ventilation) are no longer per-infection; see _hospital_df.

GEMS.cumulative_casesMethod
cumulative_cases(postProcessor::PostProcessor)

Calculates the cumulative counts of simulated infections (exposures), recoveries, and deaths over time and returns a DataFrame containing these cumulative counts for each tick, per pathogen.

If individuals can get reinfected, the cumulative counts will reflect the total number of events, including multiple infections, recoveries, and deaths for the same individual.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
exposed_cumInt64Cumulative number of individuals infected up to this tick
recovered_cumInt64Cumulative number of individuals recovered up to this tick
deaths_cumInt64Cumulative number of individuals deceased up to this tick
GEMS.cumulative_deathsMethod
cumulative_deaths(postProcessor::PostProcessor)

Returns a DataFrame containing the total count of individuals that died, per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
deaths_cumInt64Total number of individuals that have died until now
GEMS.cumulative_disease_progressionsMethod
cumulative_disease_progressions(postProcessor::PostProcessor)

Calculates the accumulated number of individuals in a certain disease state (latent, presymptomatic, symptomatic and asymptomatic) after the individual has been infected, per pathogen. Rows indicate the number of elapsed ticks since infections. Latent means infected but not yet infectious. Presymptomatic means infectious but not yet symptomatic. Symptomatic means infectious and symptomatic. Asymptomatic means infectious but not symptomatic and will never develop symptoms.

Example: Row 8 showing [20, 47, 290, 50] would mean that eight ticks after exposure, 20 individuals were latent, 47 were presymptomatic (no symptoms yet, but will be developing), 290 had symptoms and 50 are not experiencing symptoms and won't ever do.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt64Ticks since exposure
latentInt64Number of latent individuals X ticks after exposure
pre_symptomaticInt64Number of pre-symptomatic individuals X ticks after exposure
symptomaticInt64Number of symptomatic individuals X ticks after exposure
asymptomaticInt64Number of asymptomatic individuals X ticks after exposure
pathogen_idInt8Pathogen identifier
GEMS.cumulative_quarantinesMethod
cumulative_quarantines(postProcessor::PostProcessor)

Returns a DataFrame containing cumulative information about days spent in isolation.

Columns

NameTypeDescription
tickInt16Simulation tick (time)
quarantinedInt64Total number of individuals in isolation during that tick
studentsInt64Total number of students in isolation during that tick
workersInt64Total number of workers in isolation during that tick
otherInt64Total number of non-students and -workers in isolation during that tick
GEMS.deathsDFMethod
deathsDF(postProcessor::PostProcessor)

Returns the internal flat deaths DataFrame.

Columns

NameTypeDescription
tickInt16Tick of the death event
idInt32Individual's id
pathogen_idInt8Pathogen credited for the death
sexInt8Individual's sex
ageInt8Individual's age
educationInt8Individual's education level
occupationInt16Individual's occupation group
householdInt32Individual's associated household
officeInt32Individual's associated office
schoolclassInt32Individual's associated schoolclass
household_agsAGSIndividual's household community identification number
Missing docstring.

Missing docstring for detected_infections(::PostProcessor). Check Documenter's build log for details.

GEMS.detected_tick_casesMethod
detected_tick_cases(postProcessor::PostProcessor)

Returns the number of detected cases per tick and pathogen and the number of true new exposures. This analysis is based on the tick_test column of the infections-dataframe which indicates when an individual with an active infection was first tested positive. Thus, there might be a delay between exposure_cnt and detected_cnt.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
total_reported_casesInt64Total number of reported cases at that tick
new_detectionsInt64Number of true new detected cases at that tick (not known before)
double_reportsInt64Number of cases that were reported at that tick but were known before
false_positivesInt64Number of false positive reports at that tick
exposed_cntInt64Number of new infections at that tick
GEMS.detection_rateMethod
detection_rate(postProcessor::PostProcessor)

Returns a DataFrame with the fraction of detected cases per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
pathogen_idInt8Pathogen identifier
detection_rateFloat64Fraction of detected infections
Missing docstring.

Missing docstring for detection_ticks(::DataFrame). Check Documenter's build log for details.

GEMS.effectiveRMethod
effectiveR(postProcessor::PostProcessor)

Returns a DataFrame containing the effective R value for each tick, per pathogen.

For each infectee, this method looks ahead for secondary infections this individual might cause during the total span of the simulation. These infections are then counted towards the R-value of the initial infection. If individual A, for example, is infected at time 42 and causes four secondary infections during the next 14 ticks, these four infections are counted towards the R-value of time 42.

Note: This only works in scenarios without re-infection as the current implementation just evaluates the total infections caused by each individual in general. If an individual was infected multiple times, secondary infections will inflate the statistic.

Returns

  • Dataframe with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
effective_RFloat64Effective R-value
in_hh_effective_RFloat64Effective R-value for household infections
out_hh_effective_RFloat64Effective R-value for non-household infections
rolling_RFloat64Effective R rolling average of the 7 previous ticks
rolling_in_hh_RFloat64Effective R rolling average for household infections of the 7 previous ticks
rolling_out_hh_RFloat64Effective R rolling average for non-household infections of the 7 previous ticks
Missing docstring.

Missing docstring for hospital_df(::PostProcessor). Check Documenter's build log for details.

GEMS.household_attack_ratesMethod
household_attack_rates(postProcessor::PostProcessor; hh_samples::Int64 = HOUSEHOLD_ATTACK_RATE_SAMPLES)

Returns a DataFrame containing data on the in-household attack rate, per pathogen. The in-household attack rate is defined as the fraction of individuals in a given household that got infected within the household (in-household infection chain) caused by the first introduction of the pathogen in this household. It does not reflect overall fraction of individuals that were infected in this household throughout the course of the simuation. As the attack rate calculation is very computationally intensive, it is not done for all household but rather for a subset of households. You can change the desired subset size through the optional hh_samples argument. Its default can be found in constants.jl

Returns

  • DataFrame with the following columns:
NameTypeDescription
pathogen_idInt8Pathogen identifier
first_introductionInt16Time of when the first member of the respective household was exposed
hh_idInt32Household setting identifier
hh_sizeInt16Household size
chain_sizeInt32Number of individuals that got infected within the household
hh_attack_rateFloat64Number of infected individuals divided by household size
Missing docstring.

Missing docstring for in_cache(::PostProcessor, ::String). Check Documenter's build log for details.

Missing docstring.

Missing docstring for individuals_per_age_group. Check Documenter's build log for details.

GEMS.infectionsMethod
infections(postProcessor::PostProcessor)

Returns the internal flat infections DataFrame.

Columns

NameTypeDescription
infection_idInt32Unique identifier of an infection
tickInt16Tick of the infection event
id_aInt32Infecter id
id_bInt32Infectee id
pathogen_idInt8Pathogen of this infection
progression_categorySymbolDisease progression category (e.g. :Asymptomatic, :Mild, :Severe, :Critical)
infectiousness_onsetInt16Tick at which infectee becomes infectious
symptom_onsetInt16Tick at which infectee develops symptoms
severeness_onsetInt16Tick at which infectee's symptoms become severe
critical_onsetInt16Tick at which infectee's symptoms become critical
critical_offsetInt16Tick at which infectee's symptoms stop being critical
severeness_offsetInt16Tick at which infectee's symptoms stop being severe
recoveryInt16Tick of recovery, or -1 if a host death cut the infection short
removedInt16Tick at which the infection ended (recovery, or the host death that cut it short)
setting_idInt32Id of setting in which infection happens
setting_typeCharSetting type of the infection setting
latFloat32Latitude of infection location
lonFloat32Longitude of infection location
agsInt32German Community Identification Number of infection
source_infection_idInt32ID of the infection even that caused this infection (chain)
generation_timeInt16Time between preceeding infection and this exposure
serial_intervalInt16Time between onset of symptoms of this and preceeding infection
test_typeStringType of test which detected this infection
first_detected_tickInt16Tick of (reportable) test that first detected this infection
sex_aInt8Infecter sex
age_aInt8Infecter age
education_aInt8Infecter education level
occupation_aInt16Infecter occupation group
household_aInt32Infecter associated household
office_aInt32Infecter associated office
schoolclass_aInt32Infecter associated schoolclass
sex_bInt8Infectee sex
age_bInt8Infectee age
education_bInt8Infectee education level
occupation_bInt16Infectee occupation group
household_bInt32Infectee associated household
office_bInt32Infectee associated office
schoolclass_bInt32Infectee associated schoolclass
household_ags_aAGSInfecter household German Community Identification Number
household_ags_bAGSInfectee household German Community Identification Number
GEMS.infectionsDFMethod
infectionsDF(postProcessor::PostProcessor)

Returns the internal flat infections DataFrame. Lookup the docstring of infections(postProcessor::PostProcessor) for column definitions.

GEMS.observed_RMethod
observed_R(postProcessor::PostProcessor)

Returns a DataFrame containing estimations for the effective (current) reproduction number R, based on detected infections, per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
mean_est_RFloat64Mean estimation (based on detected infections) for R
lower_est_RFloat64Lower bound estimation (based on detected infections) for R
upper_est_RFloat64Upper bound estimation (based on detected infections) for R
GEMS.pooltestsDFMethod
pooltestsDF(postProcessor::PostProcessor)

Returns the internal flat pool tests DataFrame.

Columns

NameTypeDescription
tickInt16Tick of the test event
setting_idInt32Setting id of the tested pool
setting_typeCharSetting type
test_resultBoolTest result (pos./neg.)
no_of_individualsInt16Number of tested individuals
no_of_infectedInt16Number of actually infected individuals
pathogen_idInt8Pathogen the test detects
test_typeStringName of test type
GEMS.populationDFMethod
populationDF(postProcessor)

Returns the internal flat population DataFrame.

Columns

NameTypeDescription
idInt32Individual id
sexInt8Individual sex
ageInt8Individual age
educationInt8Individual education level
occupationInt16Individual occupation group
householdInt32Individual associated household
officeInt32Individual associated office
schoolclassInt32Individual associated schoolclass
GEMS.population_pyramidMethod
population_pyramid(postProcessor::PostProcessor)

Returns a DataFrame containing data to generate a population pyramid. It provides the sum of all female and male individuals in all age groups in the population model. Sums for female are multiplied by -1 to facilitate visualization.

Returns

  • DataFrame with the following columns:
NameTypeDescription
ageInt81-year age classes
sexInt8Sex according to population DataFame (0 = female, 1 = male)
genderStringString variant of Sex [Female, Male]
sumInt64Total of all genders in all ages (females multiplied by -1)
GEMS.r0Method
r0(postProcessor::PostProcessor; sample_fraction = R0_CALCULATION_SAMPLE_FRACTION)

Returns a DataFrame with the R0 value per pathogen. Requires the infectionsDF to have consecutive infection IDs starting from 1 (which is the default in GEMS).

The R0 value is calculated as the number of infections caused by the first sample_fraction% of infections of each pathogen. partialsort is used to find the infection-ID threshold in O(N) average time.

Attention: This variant of the R0 calculation expects that the infections occur in a fully susceptible population, i.e. no immunity is present. If you have a scenario that includes vaccination or natural immunity, the R0 value will not be accurate.

Returns

  • DataFrame with the following columns:
NameTypeDescription
pathogen_idInt8Pathogen identifier
r0Float64Basic R0 value
GEMS.r0_per_countyMethod
r0_per_county(postProcessor::PostProcessor; sample_fraction = R0_CALCULATION_SAMPLE_FRACTION)

Returns a dataframe with AGS on county level, pathogen id and a regional reproduction rate.

The R0 value is calculated as the number of infections that were caused by the first sample_fraction% of infections in each county and pathogen. The default value can be changed in the R0_CALCULATION_SAMPLE_FRACTION constant or just pass a different value as sample_fraction argument.

Attention: This variant of the R0 calculation expects that the infections occur in a fully susceptible population, i.e. no immunity is present. If you have a scenario that includes vaccination or natural immunity, the R0 value will not be accurate. Since the infector-AGS must be known, this calculation is based on the sample_fraction% of simulated infections and excludes the seeding infection (as they have no infector ags).

Missing docstring.

Missing docstring for reported_tick_cases(::PostProcessor). Check Documenter's build log for details.

GEMS.rolling_observed_SIMethod
rolling_observed_SI(postProcessor::PostProcessor)

Returns a DataFrame containing aggregated estimations on the serial interval based on true detected cases, per pathogen. The estimations are based on all true detected cases in a 14-past-days time window. If fewer than 50 infections were recorded in that time window, detections prior to that are added until the sample is complete.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
min_SIInt16Minimal serial interval recored for any infection that tick
max_SIInt16Maximum serial interval recored for any infection that tick
lower_95_SIFloat64Lower 95% confidence interval for serial intervals that tick
upper_95_SIFloat64Upper 95% confidence interval for serial intervals that tick
std_SIFloat64Stanard deviation for serial intervals that tick
mean_SIFloat64Mean for serial intervals that tick
GEMS.setting_sizesMethod
setting_sizes(postProcessor::PostProcessor)

Returns a Dictionary containing information about size of the settings. The keys are equal to the settingtypes and the values correspond to a countmap of the setting sizes.

Returns

  • Dict{String, Dict{Int64, Int64}}: Nested dictionary where the first key is the name of the setting type (e.g., "Household") and the innter dictionary is a countmap with the key being a setting size (e.g., 5) and the value the number of occurences.
Missing docstring.

Missing docstring for settingdata(::PostProcessor). Check Documenter's build log for details.

GEMS.sim_infectionsDFMethod
sim_infectionsDF(postProcessor::PostProcessor)

Returns a DataFrame containing all infections that happened during the simulation run. As it is a direct filter on the PostProcessors internal infectionsDF, the column structure is identical to the output of infectionsDF(postProcessor)

GEMS.simulationMethod
simulation(postProcessor::PostProcessor)

Returns the associated Simulation object.

GEMS.testsDFMethod
testsDF(postProcessor::PostProcessor)

Returns the internal flat tests DataFrame. It was joined with the population dataframe to also obtain personal characteristics about the testees.

Columns

NameTypeDescription
test_idInt32Unique test id within the logger
tickInt16Tick of the test event
idInt32Individual's id
test_resultBoolTest result
infectedBoolIndividual's current infection state
infection_idInt32Individual's infection id
pathogen_idInt8Pathogen the test detects
test_typeStringTest name
reportableBoolIf true, a positive test result will be "reported"
sexInt8Individual's sex
ageInt8Individual's age
educationInt8Individual's education level
occupationInt16Individual's occupation group
householdInt32Individual's associated household
officeInt32Individual's associated office
schoolclassInt32Individual's associated schoolclass
GEMS.tick_casesMethod
tick_cases(postProcessor::PostProcessor)

Returns a DataFrame containing the count of individuals currently entering in the respective disease states exposed, infectious, recovered, and deceased, per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
exposed_cntInt64Number of individuals entering the exposed state
infectious_cntInt64Number of individuals entering the infectious state
recovered_cntInt64Number of individuals recovering
dead_cntInt64Number of individuals dying, attributed to this pathogen

A host death is credited to exactly one pathogen (the one the HealthProgression drew it from), so dead_cnt summed over pathogens is the total number of deaths.

GEMS.tick_cases_per_settingMethod
tick_cases_per_setting(postProcessor::PostProcessor)

Returns a DataFrame containing information about the infections in different setting types, per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Current tick of the simulation
setting_typeStringSetting type identifier (name)
pathogen_idInt8Pathogen identifier
daily_casesInt64Cases for setting, pathogen and tick
GEMS.tick_deathsMethod
tick_deaths(postProcessor::PostProcessor)

Returns a DataFrame containing the count of individuals that died per tick and pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
death_cntInt64Number of individuals that died
Missing docstring.

Missing docstring for tick_generation_times(::PostProcessor). Check Documenter's build log for details.

GEMS.tick_pooltestsMethod
 tick_pooltests(postProcessor::PostProcessor)

Returns a Dict for each employed testtype containing their name as a key and a DataFrame containing the number of applied pool tests (positive/negative/total) per tick with a `pathogenid` column.

Returns

  • Dict{String, DataFrame}: The key is the TestType's name. The values are DataFrames with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
positive_testsInt64Number of positive tests
negative_testsInt64Number of negative tests
total_testsInt64Number of tests performed
Missing docstring.

Missing docstring for tick_serial_intervals(::PostProcessor). Check Documenter's build log for details.

GEMS.tick_serotestsMethod
tick_serotests(postProcessor::PostProcessor)

Returns a Dict for each seroprevalence test_type, keyed by its name and containing a DataFrame with counts per simulation tick and pathogen.

Returns

  • Dict{String, DataFrame}: The key is the test_type name. The values are DataFrames with the following columns:
NameTypeDescription
tickInt16Simulation tick
pathogen_idInt8Pathogen identifier
true_positivesInt64Test result was positive and person was ever infected
false_positivesInt64Test result was positive but person was never infected
true_negativesInt64Test result was negative and person was never infected
false_negativesInt64Test result was negative but person was ever infected
positive_testsInt64Sum of true and false positives
negative_testsInt64Sum of true and false negatives
total_testsInt64Total number of tests
GEMS.tick_testsMethod
tick_tests(postProcessor::PostProcessor)

Returns a Dict for each employed testtype containing their name as a key and a DataFrame containing the count of individuals that got tested (positive/negative) as well as the people reported positive for the first time per tick, with a `pathogenid` column.

Returns

  • Dict{String, DataFrame}: The key is the TestType's name. The values are DataFrames with the following columns:
NameTypeDescription
tickInt16Simulation tick (time)
pathogen_idInt8Pathogen identifier
reported_casesInt16Number cases tested positive for the first time
positive_testsInt64Number of positive tests
negative_testsInt64Number of negative tests
total_testsInt64Number of tests performed
positive_rateFloat64Fraction of positive tests
rolling_positive_rateFloat64Positive rate rolling average of the 7 previous ticks
GEMS.time_to_detectionMethod
time_to_detection(postProcessor::PostProcessor)

Returns the mean, standard deviation, minimum, maximum, upper- and lower 95% confidence intervals of the time to detection for all detected cases, per pathogen. The time to detection is defined as the number of ticks between the time of exposure and time of detection.

Returns

  • DataFrame with the following columns:
NameTypeDescription
tickInt64Simulation tick (time)
pathogen_idInt8Pathogen identifier
mean_time_to_detectionInt64Mean time to detection at that tick
std_time_to_detectionInt64Standard deviation of time to detection at that tick
min_time_to_detectionInt64Minimum time to detection at that tick
max_time_to_detectionInt64Maximum time to detection at that tick
upper_95_time_to_detectionInt64Upper 95% confidence interval of time to detection at that tick
lower_95_time_to_detectionInt64Lower 95% confidence interval of time to detection at that tick
GEMS.total_detected_casesMethod
total_detected_cases(postProcessor::PostProcessor)

Returns a DataFrame with the total number of detected cases per pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
pathogen_idInt8Pathogen identifier
detected_casesInt64Total number of detected cases
GEMS.total_quarantinesMethod
total_quarantines(postProcessor::PostProcessor)

Returns the total number of total ticks spent in quarantine. E.g., if 10 indiviuals were in quarantine for 5 ticks each, this function will return 50.

GEMS.total_testsMethod
total_tests(postProcessor::PostProcessor)

Sums up the total number of tests per test type and pathogen.

Returns

  • DataFrame with the following columns:
NameTypeDescription
test_typeStringName of the test type
pathogen_idInt8Pathogen identifier
countInt64Number of tests of this type for this path
Missing docstring.

Missing docstring for weighted_error_sum. Check Documenter's build log for details.

Missing docstring.

Missing docstring for weekly_county_incidence(postProcessor::PostProcessor). Check Documenter's build log for details.