DecayMegacomplex

class glotaran.builtin.megacomplexes.decay.decay_megacomplex.DecayMegacomplex[source]

Bases: glotaran.model.megacomplex.Megacomplex

A Megacomplex with one or more K-Matrices.

Attributes Summary

dimension

involved_compartments

k_matrix

label

name

type

Methods Summary

as_dict

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.

finalize_data

from_dict

full_k_matrix

get_parameters

Returns all parameter full labels of the item.

glotaran_dataset_model_items

glotaran_dataset_properties

glotaran_model_items

glotaran_unique

has_k_matrix

index_dependent

mprint

validate

Methods Documentation

as_dict() dict
calculate_matrix(dataset_model: DatasetModel, indices: dict[str, int], **kwargs)[source]
property dimension: 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.

finalize_data(dataset_model: glotaran.model.dataset_model.DatasetModel, dataset: xarray.core.dataset.Dataset, is_full_model: bool = False, as_global: bool = False)[source]
classmethod from_dict(values: dict) cls
full_k_matrix(model=None)[source]
get_parameters() list[str]

Returns all parameter full labels of the item.

classmethod glotaran_dataset_model_items() str
classmethod glotaran_dataset_properties() str
classmethod glotaran_model_items() str
classmethod glotaran_unique() bool
has_k_matrix() bool[source]
index_dependent(dataset_model: glotaran.model.dataset_model.DatasetModel) bool[source]
property involved_compartments
property k_matrix: prop_type
property label: prop_type
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) str
name = 'decay'
property type: prop_type
validate(model: Model, parameters: ParameterGroup | None = None) list[str]