astrohack.antenna.antenna_surface
Attributes
Classes
Module Contents
- class AntennaSurface(inputxds, clip_type='sigma', clip_level=3, pmodel='rigid', nan_out_of_bounds=True, panel_margins=0.05, reread=False, pol_state='I', patch_phase=False, use_detailed_mask=True)[source]
-
- gains()[source]
Computes antenna gains in decibels before and after panel surface fitting Returns: Gains before panel fitting OR Gains before and after panel fitting
- get_rms(unit='mm')[source]
Computes antenna surface RMS before and after panel surface fitting Returns: RMS before panel fitting OR RMS before and after panel fitting
- correct_surface()[source]
Apply corrections determined by the panel surface fitting methods to the antenna surface
- plot_mask(basename, caller, parm_dict)[source]
Plot mask used in the selection of points to be fitted :param basename: basename for the plot, the prefix ‘ancillary_mask’ will be added to it :param caller: Which mds called this plotting function :param parm_dict: dictionary with plotting parameters
- plot_amplitude(basename, caller, parm_dict)[source]
Plot Amplitude map :param basename: basename for the plot, the prefix ‘ancillary_amplitude’ will be added to it :param caller: Which mds called this plotting function :param parm_dict: dictionary with plotting parameters
- plot_phase(basename, caller, parm_dict)[source]
Plot phase map(s) :param basename: basename for the plot(s), the prefix ‘phase_{original|corrections|residuals}’ will be added to
it/them
- Parameters:
caller – Which mds called this plotting function
parm_dict – dictionary with plotting parameters
- plot_deviation(basename, caller, parm_dict)[source]
Plot deviation map(s) :param basename: basename for the plot(s), the prefix ‘deviation_{original|corrections|residuals}’ will be added
to it/them
- Parameters:
caller – Which mds called this plotting function
parm_dict – dictionary with plotting parameters
- plot_screw_adjustments(filename, parm_dict)[source]
Plot screw adjustments as circles over a blank canvas with the panel layout :param filename: Name of the output filename for the plot :param parm_dict: Dictionary with plotting parameters
- export_screws(filename, unit='mm', comment_char='#')[source]
Export screw adjustments for all panels onto an ASCII file :param filename: ASCII file name/path :param unit: unit for panel screw adjustments [‘mm’,’miliinches’] :param comment_char: Character used for comments