astrohack.antenna.telescope
Classes
Base telescope class containing IO methods and attributes that are common to all telescopes. |
|
Derived class containing description and methods pertaining to telescope whose panels are distributed in concentric |
|
Derived class to contain ngVLA prototype specific methods and attributes. |
Functions
|
Retrieve the proper telescope object based on the name |
Module Contents
- class Telescope[source]
Base telescope class containing IO methods and attributes that are common to all telescopes.
- read(filename)[source]
Read the telescope object from an X array .zarr telescope configuration file :param filename: name of the input file
- read_from_distro(name)[source]
Read telescope info from files distributed with astrohack. :param name: Name of the telescope to be read.
- Returns:
None
- class RingedCassegrain[source]
Bases:
TelescopeDerived class containing description and methods pertaining to telescope whose panels are distributed in concentric rings from the dish center.
- classmethod from_name(name)[source]
Initialize and read from the distro a telescope object. :param name: Name of the telescope to be read.
- Returns:
RingedCassegrain object
- consistency_check()[source]
Make a simple check to test that some of its attributes are :returns: None
- build_panel_list(panel_model, panel_margins)[source]
Construct a list of panel objects according to the telescope description :param panel_model: Type of panel model to be fitted. :param panel_margins: how much of the panel
- Returns:
List containing RingPanel objects
- attribute_pixels_to_panels(panel_list, u_axis, v_axis, radius, phi, deviation, mask)[source]
Attribute pixels in deviation image to the panels in the panel_list :param panel_list: The panel list must have been created by build_panel_list for the same instrument :param u_axis: Aperture U axis :param v_axis: Aperture V axis :param radius: Aperture radius map :param phi: Aperture phi angle map :param deviation: Aperture deviation :param mask: Aperture mask
- Returns:
map of panel attributions
- create_aperture_mask(u_axis, v_axis, use_detailed_mask=True, return_polar_meshes=False, use_outer_limit=False)[source]
- phase_to_deviation(u_axis, v_axis, _, phase, wavelength)[source]
Transform phase image to physical deviation image based on wavelength. :param u_axis: Aperture U axis :param v_axis: Aperture V axis :param _: dummy argument for interface compatibility :param phase: Phase image in Radians :param wavelength: Observation wavelength in meters
- Returns:
Deviation image.
- deviation_to_phase(u_axis, v_axis, _, deviation, wavelength)[source]
” Transform deviation image to physical phase image based on wavelength. :param u_axis: Aperture U axis :param v_axis: Aperture V axis :param _: dummy argument for interface compatibility :param deviation: Deviation image in meters :param wavelength: Observation wavelength in meters
- Returns:
Phase image.