astrohack.utils.phase_fitting ============================= .. py:module:: astrohack.utils.phase_fitting Attributes ---------- .. autoapisummary:: astrohack.utils.phase_fitting.aips_par_names astrohack.utils.phase_fitting.NPAR Functions --------- .. autoapisummary:: astrohack.utils.phase_fitting.skip_phase_fitting astrohack.utils.phase_fitting.aips_like_phase_fitting astrohack.utils.phase_fitting.create_phase_model astrohack.utils.phase_fitting.clic_like_phase_fitting astrohack.utils.phase_fitting.phase_wrapping_jit Module Contents --------------- .. py:data:: aips_par_names :value: ['phase_offset', 'x_point_offset', 'y_point_offset', 'x_focus_offset', 'y_focus_offset',... .. py:data:: NPAR :value: 10 .. py:function:: skip_phase_fitting(label, phase) .. py:function:: aips_like_phase_fitting(amplitude, phase, pol_axis, freq_axis, telescope, u_axis, v_axis, user_phase_fit_control, label) .. py:function:: create_phase_model(parameters, wavelength, telescope, u_axis, v_axis) 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: .. py:function:: clic_like_phase_fitting(phase, freq_axis, telescope, focus_offset, uaxis, vaxis, label) .. py:function:: phase_wrapping_jit(phase) Wraps phase to the -pi to pi interval :param phase: phase to be wrapped Returns: Phase wrapped to the -pi to pi interval