plot_phase

pyoof.plot_phase(K_coeff, notilt, pr, title)[source] [edit on github]

Aperture phase distribution (phase error), \(\varphi(x, y)\), figure, given the Zernike circle polynomial coefficients, K_coeff, solution from the least squares minimization.

Parameters:

K_coeff : ndarray

Constants coefficients, \(K_{n\ell}\), for each of them there is only one Zernike circle polynomial, \(U^\ell_n(\varrho, \varphi)\). The coefficients are between \([-2, 2]\).

notilt : bool

Boolean to include or exclude the tilt coefficients in the aperture phase distribution. The Zernike circle polynomials are related to tilt through \(U^{-1}_1(\varrho, \varphi)\) and \(U^1_1(\varrho, \varphi)\).

pr : float

Primary reflector radius in meters.

title : str

Figure title.

Returns:

fig : Figure

Aperture phase distribution parametrized in terms of the Zernike circle polynomials, and represented for the telescope’s primary dish.