DatasetDescriptor

class glotaran.model.dataset_descriptor.DatasetDescriptor[source]

Bases: object

A DatasetDescriptor describes a dataset in terms of a glotaran model. It contains references to model items which describe the physical model for a given dataset.

A general dataset describtor assigns one or more megacomplexes and a scale parameter.

Attributes Summary

label

megacomplex

scale

Methods Summary

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

mprint

validate

Methods Documentation

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
property label
property megacomplex
mprint(parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None)str
property scale
validate(model: Model, parameters=None)list[str]