ArrayOfXsecRecord
- class pyarts.arts.ArrayOfXsecRecord(*args, **kwargs)
A list of cross-section records
These cross-section records contains information about the valid temperature and pressure ranges as well as well as the fitting coefficients used to compute and interpolate the cross-section to other temperatures and pressures
Workspace variables of type ArrayOfXsecRecord
Overview
Method
Append arg to the end of the list.
Method
Remove all items from list.
Method
Extend self by appending elements from arg.
Method
Insert object arg1 before index arg0.
Method
Remove and return item at index (default last).
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Operator
__delitem__(self, arg: slice, /) -> None
Operator
Return self==value.
Operator
Return self>=value.
Operator
__getitem__(self, arg: slice, /) -> pyarts.arts.ArrayOfXsecRecord
Operator
__getstate__(self) -> tuple[pyarts.arts.ArrayOfXsecRecord]
Operator
Return self>value.
Operator
Return hash(self).
Operator
__iter__(self) -> collections.abc.Iterator[pyarts.arts.XsecRecord]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfXsecRecord, /) -> None
Operator
__setstate__(self, arg: tuple[pyarts.arts.ArrayOfXsecRecord]) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfXsecRecord) None
- __init__(self, arg: collections.abc.Iterable[pyarts.arts.XsecRecord], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfXsecRecord) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.ArrayOfXsecRecord) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts.arts.XsecRecord], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts.arts.ArrayOfXsecRecord) -> None
Methods
- append(self, arg: pyarts.arts.XsecRecord, /) None
Append arg to the end of the list.
- extend(self, arg: pyarts.arts.ArrayOfXsecRecord, /) None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: pyarts.arts.XsecRecord, /) None
Insert object arg1 before index arg0.
- pop(self, index: int = -1) pyarts.arts.XsecRecord
Remove and return item at index (default last).
- 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.ArrayOfXsecRecord
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: int, /) pyarts.arts.XsecRecord
- __getitem__(self, arg: slice, /) pyarts.arts.ArrayOfXsecRecord
- __getstate__(self) tuple[pyarts.arts.ArrayOfXsecRecord]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __iter__(self) collections.abc.Iterator[pyarts.arts.XsecRecord]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setitem__(self, arg0: int, arg1: pyarts.arts.XsecRecord, /) None
- __setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfXsecRecord, /) None
- __setstate__(self, arg: tuple[pyarts.arts.ArrayOfXsecRecord]) None