MCAntenna
- class pyarts3.arts.MCAntenna(*args, **kwargs)
Monte Carlo Antenna pattern class
Overview
Method
Draw a random line of sight for the current antenna pattern
Method
Return the line of sight for a given azimuth and zenith angle
Method
Set the antenna pattern to a Gaussian
Method
Set the antenna pattern to a Gaussian
Method
Set the antenna pattern from a lookup table
Method
Set the antenna pattern to a pencil beam
The lookup table for the antenna gain
The azimuth grid
The type of antenna pattern to use
The spread of azimith to use
The spread of zenith to use
The zenith grid
Operator
Return self==value.
Operator
Default object formatter.
Operator
Return self>=value.
Operator
Return self>value.
Operator
Return hash(self).
Operator
__init__(self) -> None
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
Return repr(self).
Operator
Return str(self).
Constructors
- __init__(self) None
Methods
- draw_los(self, rng: pyarts3.arts.RandomNumberGenerator, R_ant2enu: pyarts3.arts.Matrix33, bore_sight_los: pyarts3.arts.Vector2) tuple[pyarts3.arts.Vector2, pyarts3.arts.Matrix33]
Draw a random line of sight for the current antenna pattern :param rng: A random number generator to use for sampling the antenna pattern :type rng: RandomNumberGenerator :param R_ant2enu: The rotation matrix from the antenna frame to the ENU frame :type R_ant2enu: Matrix33 :param bore_sight_los: The line of sight for the boresight of the antenna, in terms of zenith and azimuth angles :type bore_sight_los: Vector2
- return_los(self, R_return: pyarts3.arts.Matrix33, R_enu2ant: pyarts3.arts.Matrix33) float
Return the line of sight for a given azimuth and zenith angle :param R_return: The rotation matrix from the return path to the ENU frame :type R_return: Matrix33 :param R_enu2ant: The rotation matrix from the ENU frame to the antenna frame :type R_enu2ant: Matrix33
- Returns:
The line of sight for the given angles, normalized by the antenna gain at the boresight
- Return type:
- set_lookup(self, za: pyarts3.arts.Vector, aa: pyarts3.arts.Vector, G: pyarts3.arts.Matrix) None
Set the antenna pattern from a lookup table
Attributes
- atype: AntennaType
The type of antenna pattern to use
Operators
- __eq__(value, /)
Return self==value.
- __format__(format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.
- __ge__(value, /)
Return self>=value.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __repr__()
Return repr(self).
- __str__()
Return str(self).