KineticDecayMegacomplex

class glotaran.builtin.models.kinetic_image.kinetic_decay_megacomplex.KineticDecayMegacomplex[source]

Bases: glotaran.model.megacomplex.Megacomplex

A Megacomplex with one or more K-Matrices.

Attributes Summary

involved_compartments

k_matrix

label

type

Methods Summary

calculate_matrix

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

from_list

full_k_matrix

has_k_matrix

mprint

validate

Methods Documentation

calculate_matrix(model, dataset_descriptor: DatasetDescriptor, indices: dict[str, int], axis: dict[str, np.ndarray], **kwargs)[source]
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
classmethod from_list(values: list) cls
full_k_matrix(model=None)[source]
has_k_matrix() bool[source]
property involved_compartments
property k_matrix: List[str]
property label: str
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) str
property type: str
validate(model: Model, parameters=None) list[str]