InitialConcentration

class glotaran.builtin.megacomplexes.decay.initial_concentration.InitialConcentration[source]

Bases: object

An initial concentration describes the population of the compartments at the beginning of an experiment.

Attributes Summary

compartments

exclude_from_normalize

label

parameters

Methods Summary

as_dict

fill

Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.

from_dict

get_parameters

Returns all parameter full labels of the item.

mprint

normalized

validate

Methods Documentation

as_dict() dict
property compartments: prop_type
property exclude_from_normalize: prop_type
fill(model: Model, parameters: ParameterGroup) cls

Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.

Parameters
  • model – A glotaran model.

  • parameter (ParameterGroup) – The parameter group to fill from.

classmethod from_dict(values: dict) cls
get_parameters() list[str]

Returns all parameter full labels of the item.

property label: prop_type
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) str
normalized() glotaran.builtin.megacomplexes.decay.initial_concentration.InitialConcentration[source]
property parameters: prop_type
validate(model: Model, parameters: ParameterGroup | None = None) list[str]