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

__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

__str__()

__str__(self) -> str

Constructors

__init__(self, arg: str, /) → None
__init__(self, arg: int, /) → None
__init__(self, arg: Rational, /) → None
__init__(self, arg: QuantumNumberType, /) → None
__init__(self) → None
__init__(self, arg: QuantumValue) → None

Attributes

value: String | Rational

Quantum number value

Operators

__eq__(self, arg: QuantumValue, /) → bool
__format__(self, arg: str, /) → str
__ge__(self, arg: QuantumValue, /) → bool
__gt__(self, arg: QuantumValue, /) → bool
__hash__()

Return hash(self).

__init__(self, arg: str, /) → None
__init__(self, arg: int, /) → None
__init__(self, arg: Rational, /) → None
__init__(self, arg: QuantumNumberType, /) → None
__init__(self) → None
__init__(self, arg: QuantumValue) → None
__le__(self, arg: QuantumValue, /) → bool
__lt__(self, arg: QuantumValue, /) → bool
__ne__(self, arg: QuantumValue, /) → bool
__repr__(self) → str
__str__(self) → str