DEFAULT_EVENT_PRIORITY
Component
VivariumError
Manager
Interface
NonCRNTestPopulation
TestPopulation
build_table()
make_dummy_column()
get_randomness()
reset_mocks()
metadata()
build_model_specification()
validate_model_specification_file()
build_simulation_configuration()
SimulationContext
Builder
Event
EventChannel
EventManager
EventInterface
LifeCycleError
InvalidTransitionError
ConstraintError
LifeCycleState
LifeCyclePhase
LifeCycle
ConstraintMaker
LifeCycleManager
LifeCycleInterface
PluginGroup
PluginConfigurationError
PluginManager
default_probability_function()
Trigger
Transition
State
Transient
TransientState
TransitionSet
Machine
SimulationClock
SimpleClock
get_time_stamp()
DateTimeClock
TimeInterface
from_yearly()
to_yearly()
rate_to_probability()
probability_to_rate()
collapse_nested_dict()
import_by_path()
handle_exceptions()
LoggingManager
LoggingInterface
configure_logging_to_terminal()
configure_logging_to_file()
list_loggers()
Interpolation
validate_parameters()
validate_call_data()
check_data_complete()
Order0Interp
LookupTableManager
LookupTableInterface
validate_build_table_parameters()
LookupTable
InterpolatedTable
CategoricalTable
ScalarTable
Collection of utility functions shared by the vivarium framework.
vivarium
TypeVar(T, bound= Union[ndarray[Any, dtype[number[NBitBase]]], Series, DataFrame, float, int])
TypeVar
T
Union
ndarray
Any
dtype
number
NBitBase
Series
DataFrame
float
int
value (T)
time_step (Timedelta | timedelta)
ndarray[Any, dtype[number[NBitBase]]]
rate (Sequence[float] | ndarray[Any, dtype[number[NBitBase]]] | Series | DataFrame | float | int)
probability (Sequence[float] | ndarray[Any, dtype[number[NBitBase]]] | Series | DataFrame | float | int)
list[tuple[str, Any]]
list
tuple
str
d (dict[str, Any])
prefix (str | None)
Import a class or function given its absolute path.
Callable[..., Any]
Callable
...
path (str) – Path to object to import
The imported class or function
Drops a user into an interactive debugger if func raises an error.
func (Callable[[...], Any])
logger (Any)
with_debugger (bool)