slope_diff¶
- mmtwfs.wfs.slope_diff(pars, coords, slopes, norm=False)[source] [edit on github]¶
For a given set of wavefront fit parameters, calculate the “distance” between the predicted and measured wavefront slopes. This function is used by
minimizewhich expects the sqrt to be applied rather than a chi-squared,