QuantumNumberValueList

class pyarts.arts.QuantumNumberValueList(*args, **kwargs)

A list of unique QuantumNumberValue

Overview

Method

get()

Set a quantum number value

Method

set()

Set a quantum number value

Operator

__eq__()

Return self==value.

Operator

__ge__()

Return self>=value.

Operator

__getitem__()

__getitem__(self, arg: int, /) -> pyarts.arts.QuantumNumberValue

Operator

__gt__()

Return self>value.

Operator

__hash__()

Return hash(self).

Operator

__iter__()

Iterate over the values

Operator

__le__()

Return self<=value.

Operator

__len__()

Number of values

Operator

__lt__()

Return self<value.

Operator

__ne__()

Return self!=value.

Operator

__setitem__()

__setitem__(self, arg0: int, arg1: pyarts.arts.QuantumNumberValue, /) -> pyarts.arts.QuantumNumberValue

Constructors

__init__(self) None
__init__(self, arg: str, /) None

Methods

get(self, qt: pyarts.arts.QuantumNumberType) pyarts.arts.QuantumNumberValue

Set a quantum number value

Parameters:

qt (QuantumNumberType) – The type to get

Returns:

qn – The value

Return type:

QuantumNumberValue

set(self, qn: pyarts.arts.QuantumNumberValue) None

Set a quantum number value

Parameters:

qn (QuantumNumberValue) – The value to set

Operators

__eq__(value, /)

Return self==value.

__ge__(value, /)

Return self>=value.

__getitem__(self, arg: pyarts.arts.QuantumNumberType, /) pyarts.arts.QuantumNumberValue
__getitem__(self, arg: int, /) pyarts.arts.QuantumNumberValue
__gt__(value, /)

Return self>value.

__hash__()

Return hash(self).

__iter__(self) collections.abc.Iterator[pyarts.arts.QuantumNumberValue]

Iterate over the values

__le__(value, /)

Return self<=value.

__len__(self) int

Number of values

__lt__(value, /)

Return self<value.

__ne__(value, /)

Return self!=value.

__setitem__(self, arg0: int, arg1: pyarts.arts.QuantumNumberValue, /) pyarts.arts.QuantumNumberValue