Skip to content

epymorph.parameter_fitting.utils.observations

Contains the information needed to compute the expected observation from a simulation output.

time instance-attribute

time = time

geo instance-attribute

geo = geo

quantity instance-attribute

quantity = quantity

Observations

Observations(
    source: ADRIO[Any, Any],
    model_link: ModelLink,
    likelihood: Likelihood,
)

The Observations class is used to handle observational data for the simulation.

Attributes:

  • source (ADRIO[Any, Any] | ADRIOLegacy[Any]) –

    The data source containing the observational data.

  • model_link (ModelLink) –

    The link that maps the observations to specific compartments or events in the model.

  • likelihood (Likelihood) –

    The likelihood function used to compare observed data with model outputs.

Parameters:

  • source (ADRIO[Any, Any]) –

    The data source.

  • model_link (ModelLink) –

    Represents the connection between the observational data and the model's compartment or event.

  • likelihood (Likelihood) –

    The likelihood function used to compare observed data with model outputs.

source instance-attribute

source = source
model_link = model_link

likelihood instance-attribute

likelihood = likelihood