Function zernike::projection_on_mask [−][src]
pub fn projection_on_mask(
surface: &[f64],
n_radial_order: u32,
n_xy: usize,
mask: &[f64]
) -> Vec<f64>
Surface decomposition
Returns the coefficients resulting of the projection of a surface on a complete set of n_radial_order
orthonormalized Zernike modes defined on a regular grid n_xy X n_xy using the modified Gram-Schmidt algorithm, the surface is valid only on the mask
defined with NaN values