Example Models

Lotka-Volterra

Contains an implementation of the Lotka Volterra model.

An implementation of a Lotka Volterra example model.

class calisim.example_models.lotka_volterra.LotkaVolterraModel[source]

Lotka Volterra simulation model.

get_observed_data() ndarray | DataFrame[source]

Retrieve observed data.

Returns:

The observed data.

Return type:

np.ndarray | pd.DataFrame

simulate(parameters: dict) ndarray | DataFrame[source]

Run the simulation.

Parameters:

parameters (dict) – The simulation parameters.

Returns:

The simulated data.

Return type:

np.ndarray | pd.DataFrame