MCAntenna
- class pyarts.arts.MCAntenna(*args, **kwargs)
An antenna object used by
MCGeneral
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
Matrix
The lookupAttribute
Vector
The azimuth gridAttribute
AntennaType
The antenna typeAttribute
float
The azimuthal half-widthAttribute
float
The zenith half-widthAttribute
Vector
The zenith gridOperator
Return self==value.
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[pyarts.arts.AntennaType, float, float, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Matrix]
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.AntennaType, float, float, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Matrix], /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.MCAntenna) 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.MCAntenna
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- atype
AntennaType
The antenna type
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[pyarts.arts.AntennaType, float, float, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Matrix]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setstate__(self, arg: tuple[pyarts.arts.AntennaType, float, float, pyarts.arts.Vector, pyarts.arts.Vector, pyarts.arts.Matrix], /) None