astrohack.utils.phase_fitting

Attributes

aips_par_names

NPAR

Functions

skip_phase_fitting(label, phase)

aips_like_phase_fitting(amplitude, phase, pol_axis, ...)

create_phase_model(parameters, wavelength, telescope, ...)

Create a phase model with npix by npix size according to the given parameters

clic_like_phase_fitting(phase, freq_axis, telescope, ...)

phase_wrapping_jit(phase)

Wraps phase to the -pi to pi interval

Module Contents

aips_par_names = ['phase_offset', 'x_point_offset', 'y_point_offset', 'x_focus_offset', 'y_focus_offset',...[source]
NPAR = 10[source]
skip_phase_fitting(label, phase)[source]
aips_like_phase_fitting(amplitude, phase, pol_axis, freq_axis, telescope, u_axis, v_axis, user_phase_fit_control, label)[source]
create_phase_model(parameters, wavelength, telescope, u_axis, v_axis)[source]

Create a phase model with npix by npix size according to the given parameters :param parameters: Parameters for the phase model in the units described in _phase_fitting :param wavelength: Observing wavelength, in meters :param telescope: Telescope object containing the optics parameters :param u_axis: Aperture’s U axis :param v_axis: Aperture’s V axis

Returns:

clic_like_phase_fitting(phase, freq_axis, telescope, focus_offset, uaxis, vaxis, label)[source]
phase_wrapping_jit(phase)[source]

Wraps phase to the -pi to pi interval :param phase: phase to be wrapped

Returns: Phase wrapped to the -pi to pi interval