CoherentArtifactMegacomplex

class glotaran.builtin.megacomplexes.coherent_artifact.coherent_artifact_megacomplex.CoherentArtifactMegacomplex[source]

Bases: glotaran.model.megacomplex.Megacomplex

Attributes Summary

dimension

label

name

order

type

width

Methods Summary

as_dict

calculate_matrix

compartments

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

get_parameters

Returns all parameter full labels of the item.

glotaran_dataset_model_items

glotaran_dataset_properties

glotaran_model_items

glotaran_unique

index_dependent

mprint

validate

Methods Documentation

as_dict() dict
calculate_matrix(dataset_model: DatasetModel, indices: dict[str, int], **kwargs)[source]
compartments()[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
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
index_dependent(dataset_model: glotaran.model.dataset_model.DatasetModel) bool[source]
property label: prop_type
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) str
name = 'coherent-artifact'
property order: prop_type
property type: prop_type
validate(model: Model, parameters: ParameterGroup | None = None) list[str]
property width: prop_type