workspace#

class Workspace(definition: Mapping[str, Any], decays: Mapping[str, ThreeBodyDecay], distributions: Mapping[str, AmplitudeModel], functions: Mapping[str, DefinedExpression], kinematics: Mapping[str, Any], reference_points: tuple[Mapping[str, Any], ...], checksums: tuple[Mapping[str, Any], ...])[source]#

Bases: object

Backend-independent formulation of a serialized amplitude model.

definition: Mapping[str, Any][source]#
decays: Mapping[str, ThreeBodyDecay][source]#
distributions: Mapping[str, AmplitudeModel][source]#
functions: Mapping[str, DefinedExpression][source]#
kinematics: Mapping[str, Any][source]#
reference_points: tuple[Mapping[str, Any], ...][source]#
checksums: tuple[Mapping[str, Any], ...][source]#
load_workspace(source: str | Path | Mapping[str, Any], *, builders: Mapping[str, PropagatorDynamicsBuilder] | None = None, to_latex: Callable[[str], str] | None = None) Workspace[source]#

Load and formulate every distribution in a serialized model.