base#
The module contains frequently-used functions that do not neatly fit into other areas of the code base.
Classes
A generic class for individual setting group and some methods to operate on each. |
Functions
Normalize the dictionary |
|
Create a normalized dictionary for the range |
|
Create a dictionary mapping each item in the value arrays to the key. |
|
Create a dictionary mapping age to the age bracket it falls in. |
|
Get lists of IDs that map to each age. |
|
Create an age count from a population dictionary. |
|
Create a dictionary of the count of ages by age brackets. |
|
Aggregate a symmetric matrix to fewer age brackets. |
|
Get the contact matrix for the average individual in each age bracket. |
|
Get the bin edges for size brackets. |
|
Get the bin labels from the values contained within each bracket or bin. |
|
Counter of values in the dictionary. |
|
Binned counter of values in the dictionary. |
|
Binned distribution of values in the dictionary. |