webbpsf_ext.robust.checkfit

webbpsf_ext.robust.checkfit(inputData, inputFit, epsilon, delta, BisquareLimit=6.0)[source]

Determine the quality of a fit and biweights. Returns a tuple with elements:

  1. Robust standard deviation analog

  2. Fractional median absolute deviation of the residuals

  3. Number of input points given non-zero weight in the calculation

  4. Bisquare weights of the input points

  5. Residual values scaled by sigma

This function is based on the rob_checkfit routine from the AstroIDL User’s Library.