GridType
- class pyarts.arts.GridType(*args, **kwargs)
Group name: “GridType”
Type of Lagrange interpolation weights.
Valid options:
"Standard"
: 1-to-1 interpolation grid"Cyclic"
: Cyclic interpolation grid"Log"
: Natural logarithm interpolation grid"Log10"
: 10-base logarithm interpolation grid"Log2"
: 2-base logarithm interpolation grid"SinDeg"
: Sine in degrees interpolation grid, grid only defined [-90, 90]"SinRad"
: Sine in radians interpolation grid, grid only defined [-PI/2, PI/2]"CosDeg"
: Cosine in degrees interpolation grid, grid only defined [0, 180]"CosRad"
: Cosine in radians interpolation grid, grid only defined [0, PI]
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Static Method
Get a list of all options
Static Method
Get a list of all options as strings
Static Data
pyarts.arts.GridType.CosDeg
“CosDeg” -
GridType
Static Data
pyarts.arts.GridType.CosRad
“CosRad” -
GridType
Static Data
pyarts.arts.GridType.Cyclic
“Cyclic” -
GridType
Static Data
pyarts.arts.GridType.Log
“Log” -
GridType
Static Data
pyarts.arts.GridType.Log10
“Log10” -
GridType
Static Data
pyarts.arts.GridType.Log2
“Log2” -
GridType
Static Data
pyarts.arts.GridType.SinDeg
“SinDeg” -
GridType
Static Data
pyarts.arts.GridType.SinRad
“SinRad” -
GridType
Static Data
pyarts.arts.GridType.Standard
“Standard” -
GridType
Operator
self == other
Operator
self >= other
Operator
self > other
Operator
Allows hashing
Operator
self <= other
Operator
self < other
Operator
self != other
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.GridType) None
- __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.GridType
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- get_options() list[pyarts.arts.GridType]
Get a list of all options
Operators
- __eq__(self, arg: pyarts.arts.GridType, /) bool
self == other
- __ge__(self, arg: pyarts.arts.GridType, /) bool
self >= other
- __gt__(self, arg: pyarts.arts.GridType, /) bool
self > other
- __le__(self, arg: pyarts.arts.GridType, /) bool
self <= other
- __lt__(self, arg: pyarts.arts.GridType, /) bool
self < other
- __ne__(self, arg: pyarts.arts.GridType, /) bool
self != other