rsvsim.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)
rsvsim.defaults.default_float

alias of numpy.float32

rsvsim.defaults.default_int

alias of numpy.int32

rsvsim.defaults.get_default_colors()[source]

Specify plot colors – used in sim.py.

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

rsvsim.defaults.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’