covasim.defaults module

Set the defaults across each of the different files.

To change the default precision from 32 bit (default) to 64 bit, use:

cv.options.set(precision=64)
default_float

alias of numpy.float32

default_int

alias of numpy.int32

get_default_colors()[source]

Specify plot colors – used in sim.py.

NB, includes duplicates since stocks and flows are named differently.

get_default_plots(which='default', kind='sim', sim=None)[source]

Specify which quantities to plot; used in sim.py.

Parameters:which (str) – either ‘default’ or ‘overview’