GroupedProblem

class glotaran.analysis.problem.GroupedProblem(data, weight, has_scaling, group, data_sizes, descriptor)[source]

Bases: tuple

Create new instance of GroupedProblem(data, weight, has_scaling, group, data_sizes, descriptor)

Attributes Summary

data

Alias for field number 0

data_sizes

Holds the sizes of the concatenated datasets.

descriptor

Alias for field number 5

group

The concatenated labels of the involved datasets.

has_scaling

Indicates if at least one dataset in the group needs scaling.

weight

Alias for field number 1

Methods Summary

count

Return number of occurrences of value.

index

Return first index of value.

Methods Documentation

count(value, /)

Return number of occurrences of value.

data: numpy.ndarray

Alias for field number 0

data_sizes: List[int]

Holds the sizes of the concatenated datasets.

descriptor: glotaran.analysis.problem.GroupedProblemDescriptor

Alias for field number 5

group: str

The concatenated labels of the involved datasets.

has_scaling: bool

Indicates if at least one dataset in the group needs scaling.

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.

weight: numpy.ndarray

Alias for field number 1