DatasetIndexModelGroup
- class glotaran.optimization.optimization_group_calculator_linked.DatasetIndexModelGroup(data: np.ndarray, weight: np.ndarray, has_scaling: bool, group: str, data_sizes: list[int], dataset_models: list[DatasetIndexModel])[source]
Bases:
tuple
A model which contains information about a group of dataset with linked clp.
Create new instance of DatasetIndexModelGroup(data, weight, has_scaling, group, data_sizes, dataset_models)
Attributes Summary
Alias for field number 0
Holds the sizes of the concatenated datasets.
Alias for field number 5
The concatenated labels of the involved datasets.
Indicates if at least one dataset in the group needs scaling.
Alias for field number 1
Methods Summary
Return number of occurrences of value.
Return first index of value.
Methods Documentation
- count(value, /)
Return number of occurrences of value.
- data: np.ndarray
Alias for field number 0
- dataset_models: list[DatasetIndexModel]
Alias for field number 5
- index(value, start=0, stop=sys.maxsize, /)
Return first index of value.
Raises ValueError if the value is not present.
- weight: np.ndarray
Alias for field number 1