Quadrature

Contains the implementations for the quadrature methods

Implements the supported quadrature methods.

class calisim.quadrature.implementation.QuadratureMethod(calibration_func: Callable, specification: QuadratureMethodModel, engine: str = 'emukit', implementation: CalibrationWorkflowBase | None = None)[source]

The quadrature method class.

pydantic model calisim.quadrature.implementation.QuadratureMethodModel[source]

The quadrature method data model.

Parameters:

BaseModel (CalibrationModel) – The calibration base model class.

Config:
  • arbitrary_types_allowed: bool = True

  • protected_namespaces: tuple = ()

Fields:
field kernel: str | None = 'QuadratureRBFLebesgueMeasure'

The Kernel embeddings for Bayesian quadrature

field measure: str | None = 'LebesgueMeasure'

The Integration measures

calisim.quadrature.implementation.get_implementations() dict[str, type[CalibrationWorkflowBase]][source]

Get the calibration implementations for quadrature.

Returns:

The dictionary

of calibration implementations for quadrature.

Return type:

Dict[str, type[CalibrationWorkflowBase]]

Emukit

Contains the implementations for Bayesian quadrature methods using Emukit

Implements the supported Bayesian quadrature methods using the Emukit library.

class calisim.quadrature.emukit_wrapper.EmukitQuadrature(calibration_func: Callable, specification: CalibrationModel, task: str)[source]

The Emukit Bayesian quadrature method class.

analyze() None[source]

Analyze the results of the simulation calibration procedure.

execute() None[source]

Execute the simulation calibration procedure.