Weight

class glotaran.model.weight.Weight[source]

Bases: object

The Weight class describes a value by which a dataset will scaled.

global_interval and model_interval are optional. The whole range of the dataset will be used if not set.

Attributes Summary

datasets

ModelProperty is an extension of the property decorator.

global_interval

ModelProperty is an extension of the property decorator.

model_interval

ModelProperty is an extension of the property decorator.

value

ModelProperty is an extension of the property decorator.

Methods Summary

as_dict

fill

from_dict

markdown

validate

Methods Documentation

as_dict() dict
property datasets: model_property.glotaran_property_type

ModelProperty is an extension of the property decorator.

It adds convenience functions for meta programming model items.

fill(model: Model, parameters: ParameterGroup) cls
classmethod from_dict(values: dict) cls
property global_interval: model_property.glotaran_property_type

ModelProperty is an extension of the property decorator.

It adds convenience functions for meta programming model items.

markdown(all_parameters: ParameterGroup = None, initial_parameters: ParameterGroup = None) MarkdownStr
property model_interval: model_property.glotaran_property_type

ModelProperty is an extension of the property decorator.

It adds convenience functions for meta programming model items.

validate(model: Model, parameters: ParameterGroup | None = None) list[str]
property value: model_property.glotaran_property_type

ModelProperty is an extension of the property decorator.

It adds convenience functions for meta programming model items.