RUME.initialize

rume.RUME.initialize(data, rng)

Evaluates the Initializer(s) for this RUME.

Parameters

data: DataResolver

The resolved parameters for this RUME.

rng: np.random.Generator

The random number generator to use. Generally this should be the same RNG used to evaluate parameters.

Returns

SimArray

the initial values ((N,C)-shaped array) for all geo scope nodes and IPM compartments

Raises

Name Type Description
InitException If initialization fails for any reason or produces invalid values.