SpeciesIsotope
- class pyarts.arts.SpeciesIsotope(*args, **kwargs)
Contains descriptions about an isotope.
Workspace methods that require SpeciesIsotope
Overview
Method
Partition function
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
float
The degeneracy of states of the molecule. It is -1 if not defined.Attribute
str
A custom name that is unique for this Species typeAttribute
float
The mass of the isotope in units of grams per mol. It is Nan if not definedAttribute
String
The full nameAttribute
bool
Check if this represents a predefined modelAttribute
Species
The speciesOperator
Return self==value.
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[pyarts.arts.SpeciesEnum, std::basic_string_view<char, std::char_traits<char> >, float, int]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setstate__(self, arg: tuple[pyarts.arts.SpeciesEnum, str, float, int], /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.SpeciesIsotope) None
- __init__(self, isot: int = 0) None
- __init__(self, arg: str, /) None
- __init__(self, arg: str, /) None
Overloaded function.
__init__(self) -> None
__init__(self, arg: pyarts.arts.SpeciesIsotope) -> None
__init__(self, isot: int = 0) -> None
From position
__init__(self, arg: str, /) -> None
From
str
__init__(self, arg: str, /) -> None
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.SpeciesIsotope
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- spec
Species
The species
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[pyarts.arts.SpeciesEnum, std::basic_string_view<char, std::char_traits<char> >, float, int]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.