pygrenade_vx.network.abstract.multicompartment.compartment_builder.Mechanism

class pygrenade_vx.network.abstract.multicompartment.compartment_builder.Mechanism

Bases: abc.ABC

Abstract base class for all Mechanisms.

__init__()

Initialize mechanism.

Methods

__init__()

Initialize mechanism.

construct_parameter_space(lower_limits, …)

Construct a parameter space with the given limits.

construct_parameterization(values)

Construct a parameterization for the given mechanism.

copy()

Create a copy of the mechanism.

to_grenade()

Create the mechanism in grenade.

abstract classmethod construct_parameter_space(lower_limits: Dict[str, float], upper_limits: Dict[str, float])_pygrenade_vx_network_abstract.Mechanism.ParameterSpace

Construct a parameter space with the given limits.

Parameters
  • lower_limits – Lower limits of the parameter space. The keys are the names of the parameters.

  • upper_limits – Upper limits of the parameter space. The keys are the names of the parameters.

Returns

Parameter space with the given limits.

abstract classmethod construct_parameterization(values: Dict[str, Union[float, int]])grenade.Mechanism.Parameterization

Construct a parameterization for the given mechanism.

Parameters

values – Values for the different parameters. The keys are the names of the parameters.

Returns

Parameterization.

copy()

Create a copy of the mechanism.

abstract to_grenade()

Create the mechanism in grenade.