swifco_rs.observers.asf module¶
- swifco_rs.observers.asf.epi_stat_map()¶
Grid with 3 layers: S, I, R
- swifco_rs.observers.asf.epi_stat_table()¶
Time series of total population and population per SIR class.
Columns are [Total, Susceptible, Infected, Resistant]
- swifco_rs.observers.asf.first_infection_map()¶
Grid storing the tick when an infected animal was present for the first time
- swifco_rs.observers.asf.first_new_infection_map()¶
Grid storing the tick when an animal was first infected in each cell
- swifco_rs.observers.asf.infectious_carcasses_list()¶
List of depositions of infectious carcasses
- swifco_rs.observers.asf.infectious_carcasses_sample(size=1)¶
Samples from the infectious carcasses present in the landscape
Parameters:
size - size of the sample generated each tick
- swifco_rs.observers.asf.new_infections_map()¶
Map of new infections including their origin
Layers are [Total, Within, Between, Carcass]
- swifco_rs.observers.asf.new_infections_table()¶
Time series of new infections including their origin.
Columns are [Total, Within, Between, Carcass]
- swifco_rs.observers.asf.secondary_infections()¶
Histograms over the number of secondary infections
Columns represent number of secondary infections. Rows capture “total”, “within”, “between” and “carcass”.
- swifco_rs.observers.asf.spread_movement_list()¶
List of locations from where the infection first reached a cell
Columns are [“t”, “x”, “y”, “inf_loc_x”, “inf_loc_y”, “inf_origin_loc_x”, “inf_origin_loc_y”].
- swifco_rs.observers.asf.spread_velocity_map(resolution=1)¶
Grid storing the local velocity by comparing when infected animals were first present in neighbouring cells
- swifco_rs.observers.asf.variants_list()¶
Lists all created ASF variants including their origin
Columns are [“x”, “y”, “tick”, “variant”, “origin”].
- swifco_rs.observers.asf.variants_map(first_variant=False)¶
Grid with a number for each virus variant present in infectious hosts
Parameters:
first_variant - whether to record only the first occurring variant, instead of a current one