Weight

class glotaran.model.weight.Weight(*, datasets: list[str], global_interval: tuple[float, float] | None = None, model_interval: tuple[float, float] | None = None, value: float)[source]

Bases: Item

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.

Method generated by attrs for class Weight.

Attributes Summary

datasets

global_interval

model_interval

value

Methods Summary

Methods Documentation

datasets: list[str]
global_interval: tuple[float, float] | None
model_interval: tuple[float, float] | None
value: float