SpectralShape

class glotaran.builtin.megacomplexes.spectral.shape.SpectralShape(*, label: str, type: str)[source]

Bases: ModelItemTyped

Method generated by attrs for class SpectralShape.

Attributes Summary

type

label

Methods Summary

get_item_type

Get the type string.

get_item_type_class

Get the type for a type string.

get_item_types

Get all type strings.

Methods Documentation

classmethod get_item_type() str

Get the type string.

Return type:

str

classmethod get_item_type_class(item_type: str) Type

Get the type for a type string.

Parameters:

item_type (str) – The type string.

Return type:

Type

classmethod get_item_types() list[str]

Get all type strings.

Return type:

list[str]

label: str
type: str