Constants and Markers¶
Constants and markers used on COMORBUSS
are stored in the file comorbuss/settings.py
.
ACT_FREE
¶
Marker for free particle
ACT_ISOL
¶
Marker for particles in isolation
ACT_QRNT
¶
Marker for quarantined particles
ACT_TRNP
¶
Marker for particles in transit
ACT_VISIT
¶
Marker for particle visiting
ACT_WORK
¶
Marker for particle working
ACT_deceased
¶
Marker for deceased particles
AGE_DEF
¶
List of strings with the definition of all age groups.
ALL_AGES
¶
List with the id of all age groups.
COLORS
¶
Colors for ploting graphs (available colors: blue, orange, green, red, purple, brown, pink, gray, yellow, teal)
COLORS_DEEP
¶
Colors for ploting graphs, less bright variant (available colors: blue, orange, green, red, purple, brown, pink, gray, yellow, teal)
COLORS_MAP_STRS
¶
Colormaps for plotting several seeds
COLORS_STATES
¶
Colors to be used in states plots
COLORS_STATES_DEEP
¶
Colors to be used in states plots, less bright variant
COLORS_SYMPT
¶
Colors to be used in symptoms plots.
COLORS_SYMPT_DEEP
¶
Colors to be used in symptoms plots, less bright variant
DATA_DIREC
¶
Path to configurations directory
DEMO_DATA_FILE
¶
Path to brazilian demographics data file
DIAG_NO
¶
Marker for particles negatively diagnosed
DIAG_NYET
¶
Marker for particles not yet diagnosed
DIAG_YES
¶
Marker for particles positively diagnosed
LCKD_PRGSS_FINISH
¶
Marker to indicate to stop a lockdown
LCKD_PRGSS_OFF
¶
Marker to indicate a not in lockdown
LCKD_PRGSS_ON
¶
Marker to indicate a in lockdown
LCKD_PRGSS_START
¶
Marker to indicate to start a lockdown
MSG_ERROR
¶
Marker for messages of Error
MSG_EVENT
¶
Marker for messages of Events
MSG_PRGS
¶
Marker for messages of Progress
MSG_RSLT
¶
Marker for messages of Results
MSG_TEXTS
¶
Dictionary to translate messages makers to string.
MSG_WRNG
¶
Marker for messages of Warning
NET_AIRBORNE
¶
Marker for a net in which the infection spreads through airborne aerosol particles, which come from infectious particles.
NET_DEFAULT
¶
Marker for a default net used in a service. This net is currently the barabasi_albert_graph from the Newtworkx package
NET_HOSPITALS
¶
Marker for a net used in hospitals. Currently the default net
NET_ISOLATE
¶
Marker for a net that isolate all particles
NET_MARKETS
¶
Marker for a net used in markets. This net models the contacts by a mean number of contacts between persons in the market, in addition to a percentage of the workers in markets being cashiers. Visitors to markets mandatorily get in contact with one of the cashiers
NET_RESTAURANTS_1
¶
Marker for a net used in restaurants. This net is modelled by the percentage of workers that are waiters, and the mean number of contacts between workers. Workers get in contact between themselves, clients get in contact with other clients in the same table, and one of them gets in contact with one waiter.
NET_RESTAURANTS_2
¶
Marker for a net used in restaurants. This net is modelled by the percentage of workers that are waiters, the mean number of contacts between workers, and the average number of persons per table. Workers get in contact between themselves, clients get in contact with other clients in the same table, and every client gets in contact with the waiter of that table.
NET_SCHOOLS
¶
Marker for a net used in schools. This net model takes into accounts break period, mean number of contacts in breaks, number of classrooms in a break, and mean number of students in a classroom. During breaks, students may get in contact with everyone else in the same break, and during classrooms, students can only get in contact with the neighbors in their position in a 2d grid.
NET_STREET_MARKETS
¶
Marker for a net used in street markets. This net is very similar to that used in markets, with the exception that all workers are cashiers, and that visitors may get in contact with more than one cashier.
NO_INFEC
¶
Marker not infected
OUT_DIR
¶
Path to the default output dirtectory
PLC_CEMT
¶
Marker for placement for deceased particles
PLC_ENV
¶
Marker for placement at environment
PLC_HOME
¶
Marker for placement at home
PLC_TRSP
¶
Marker for placement in transport
QRNT_FREE
¶
Marker for not in quarantine
SERVICE_CLOSE_DAYS_FILE
¶
Path to service close days data file
STATE_D
¶
Marker for deceased state
STATE_E
¶
Marker for exposed state (incubation)
STATE_I
¶
Marker for infectious state
STATE_R
¶
Marker for recovered state
STATE_S
¶
Marker for susceptible state
SYMPT_NO
¶
Marker for asymptomatic
SYMPT_NYET
¶
Marker for not yet symptomatic
SYMPT_SEVERE
¶
Marker for severe symptomatic
SYMPT_YES
¶
Marker for symptomatic
WAIFW
¶
Matrix that depicts who acquired infection from whom, for a general disease. See Table 2 in https://doi.org/10.1016/j.socnet.2007.04.005
inf
¶
\infty from numpi.inf
ninf
¶
-\infty from numpi.ninf
pi
¶
\pi from numpi.pi