QuantumValue

class pyarts3.arts.QuantumValue(*args, **kwargs)

A single quantum number value

Overview

String or Rational

value

Quantum number value

Operator

__eq__()

__eq__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__format__()

__format__(self, arg: str, /) -> str

Operator

__ge__()

__ge__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__getstate__()

__getstate__(self) -> tuple[str]

Operator

__gt__()

__gt__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__hash__()

Return hash(self).

Operator

__init__()

__init__(self, arg: pyarts3.arts.QuantumValue) -> None

Operator

__le__()

__le__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__lt__()

__lt__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__ne__()

__ne__(self, arg: pyarts3.arts.QuantumValue, /) -> bool

Operator

__repr__()

__repr__(self) -> str

Operator

__setstate__()

__setstate__(self, arg: tuple[str], /) -> None

Operator

__str__()

__str__(self) -> str

Constructors

__init__(self, arg: str, /) None
__init__(self, arg: int, /) None
__init__(self, arg: pyarts3.arts.Rational, /) None
__init__(self, arg: pyarts3.arts.QuantumNumberType, /) None
__init__(self) None
__init__(self, arg: pyarts3.arts.QuantumValue) None

Attributes

value: String | Rational

Quantum number value

Operators

__eq__(self, arg: pyarts3.arts.QuantumValue, /) bool
__format__(self, arg: str, /) str
__ge__(self, arg: pyarts3.arts.QuantumValue, /) bool
__getstate__(self) tuple[str]
__gt__(self, arg: pyarts3.arts.QuantumValue, /) bool
__hash__()

Return hash(self).

__init__(self, arg: str, /) None
__init__(self, arg: int, /) None
__init__(self, arg: pyarts3.arts.Rational, /) None
__init__(self, arg: pyarts3.arts.QuantumNumberType, /) None
__init__(self) None
__init__(self, arg: pyarts3.arts.QuantumValue) None
__le__(self, arg: pyarts3.arts.QuantumValue, /) bool
__lt__(self, arg: pyarts3.arts.QuantumValue, /) bool
__ne__(self, arg: pyarts3.arts.QuantumValue, /) bool
__repr__(self) str
__setstate__(self, arg: tuple[str], /) None
__str__(self) str