epymorph.kit
As a convenience feature, epymorph includes the epymorph.kit
package which you can use in a star-import.
from epymorph.kit import *
# and so onward
# to big things
# from such small beginnings
Like a “starter kit”, this is designed to give you quick acccess to the most-commonly-used classes and methods in epymorph.
epymorph.kit
includes:
init
: a package containing pre-built Initializersipm
: a package containing pre-built IPMsmm
: a package containing pre-built Movement ModelsCompartmentModel
: for defining your own IPM (with the following)ModelSymbols
TransitionDef
compartment
edge
fork
BIRTH
DEATH
SingleStrataRUME
: constructing RUMEs (with the following)MultiStrataRUME
MultiStrataRUMEBuilder
GPM
MultiStrataModelSymbols
BasicSimulator
: running forward simulationssim_messaging
: producing pretty progress messages during simulation runsdefault_rng
: the customizing RNG behaviorCustomScope
: for specifying geo scopes (with the following)StateScope
CountyScope
TractScope
BlockGroupScope
ParamFunction
: for defining your own parameter functions (with the following)ParamFunctionNumpy
ParamFunctionScalar
ParamFunctionTime
ParamFunctionNode
ParamFunctionNodeAndNode
ParamFunctionNodeAndCompartment
ParamFunctionTimeAndNode
TimeFrame
: for specifying time framesAttributeDef
: for specifying data attribute requirementsShapes
: for specifying data attribute shapesSimDType
: the numpy dtype used for simulation state variablesCentroidDType
: the numpy structured type definition for centroid valuesCentroidType
: like CentroidDType but adapted for use in AttributeDefs