bucky.model.graph
Class to read and store all the data from the bucky input graph.
buckyGraphData
Contains and preprocesses all the data imported from an input graph file.
_read_node_attr(G, name, diff=False, dtype=xp.float32, a_min=None, a_max=None)
_read_node_attr
Read an attribute from every node into a cupy/numpy array and optionally clip and/or diff it.
cached_scatter_add(a, slices, value)
cached_scatter_add
bucky.model.graph.
memory
N
Total population.
Nj
Total population per adm2.
adm0_Ni
Age stratified adm0 population.
adm0_cum_case_hist
Cumulative cases at adm0.
adm0_cum_death_hist
Cumulative deaths at adm0.
adm0_inc_case_hist
Incident cases at adm0.
adm0_inc_death_hist
Incident deaths at adm0.
adm1_Nij
Age stratified adm1 populations.
adm1_Nj
Total adm1 populations.
adm1_cum_case_hist
Cumulative cases by adm1.
adm1_cum_death_hist
Cumulative deaths by adm1.
adm1_inc_case_hist
Incident cases by adm1.
adm1_inc_death_hist
Incident deaths by adm1.
clean_historical_data
rolling_adm1_curr_hosp
Return the rolling mean of cumulative deaths.
rolling_adm1_inc_hosp
rolling_cum_cases
Return the rolling mean of cumulative cases.
rolling_cum_deaths
rolling_inc_cases
Return the rolling mean of incident cases.
rolling_inc_deaths
Return the rolling mean of incident deaths.
sum_adm1
Return the adm1 sum of a variable defined at the adm2 level using the mapping on the graph.
bucky.model.exceptions
bucky.model.main