| faradius | stsdas.hst_calib.foc.foccs | faradius |
faradius -- Compute a measure of the radius.
faradius input output outim
This task computes a measure of the radius of the point spread function (PSF) as an indication of how far each image is out of focus. The fradius task differs from this one in that it computes the radius directly, not using an autocorrelation. The autocorrelation of each row (extracted from a focus image by the fextract task) is computed, the autocorrelation is saved in an output image, and the characteristic radius is computed by taking the average of the radii from pixel [1,1] weighted by the autocorrelation. The autocorrelation is done separately for each box, and only for pixels closer than the box size to [1,1]; the separate autocorrelations are added to give the result saved in the file named by the outim parameter.
Computing the autocorrelation can take some time, so printing the focus position lets you know how far the task has gotten.
This task was written by Phil Hodge.