barc4ro.wavefront_fitting
Functions
|
Constructs wavefront with Chebyshev amplitudes leg_vec. |
|
Calculates a basis of nmodes Chebyshev modes with normalised dimensions [-1, 1]. |
|
Constructs wavefront with Legendre amplitudes leg_vec. |
|
Calculates a basis of nmodes Legendre modes with normalised dimensions [-1, 1]. |
|
Calculate a basis of nmodes Zernike modes with radius rad. |
|
Calculates a basis of nmodes Zernike modes with normalised dimensions [2*np.sqrt(1-a**2), 2a]. |
|
Calculates a basis of nmodes Zernike modes with normalised dimensions [2*np.sqrt(1-a**2), 2a]. |
|
Constructs wavefront with Zernike amplitudes zern_vec. |
|
Constructs wavefront with Zernike amplitudes zern_vec. |
|
Constructs wavefront with Zernike amplitudes zern_vec. |
|
Calculates the 1D Chebyshev polynomials on a X grid ranging from -1 to 1. |
|
Calculates the orthonormal rectangular Chebyshev mode j on a normalised rectangular grid X and Y given by: |
|
Fit nmodes Chebyshev modes to a wavefront. |
|
Fit nmodes Legendre modes to a wavefront. |
|
Fit nmodes Zernike modes to a wavefront. |
|
Fit nmodes Zernike modes to a wavefront. |
|
Fit nmodes Zernike modes to a wavefront. |
|
Calculates the 1D Legendre polynomials on a X grid ranging from -1 to 1. |
|
Calculates the orthonormal rectangular Legendre mode j on a normalised rectangular grid X and Y given by: |
|
Make a rectangular matrix of size (r0, r1) where the value of each element is the Euclidean distance to center. |
|
Convert linear Noll index to tuple of Zernike indices. |
|
Calculates normalisation vector. |
|
Calculates Zernike mode with Noll-index j on a square grid of <size>^2 elements |
|
Calculates Zernike mode (m,n) on grid rho and phi. |
|
Make radial Zernike polynomial on 1D - coordinate grid rho. |
|
Calculates the orthonormal rectangular Zernike mode j on grid rho and phi. |
|
Calculates the orthonormal square Zernike mode j on grid rho and phi. |