astrohack.antenna.panel_fitting

Attributes

PANEL_MODEL_DICT

Classes

PanelModel

PanelPoint

Module Contents

PANEL_MODEL_DICT[source]
class PanelModel(model_dict, zeta, ref_points, center)[source]
zeta[source]
ref_points[source]
center[source]
npar[source]
parameters = None[source]
fitted = False[source]
solve(samples)[source]

Fits the model to the given samples :param samples: The list of points to be fitted.

Returns:

Nothing

correct(samples, margins)[source]

Provides the corrections for all the points in the margins and samples :param samples: The list of points to be fitted. :param margins: The list of points to be ignored in fitting but used in corrections.

Returns:

Array of corrections and the indices linking them to the aperture.

correct_point(point)[source]

Provide corrections for a single PanelPoint :param point: the point in question

Returns:

The expected correction for that single point.

class PanelPoint(xc, yc, ix=None, iy=None, value=None)[source]
xc[source]
yc[source]
ix = None[source]
iy = None[source]
value = None[source]
get_xcycval()[source]
get_coords()[source]
get_array()[source]