function psf

Return the average (or median, minimum, maximum) of several stars in an image. The stars locations are given in the second argument.

Syntax
result = psf(X, POSITIONS [, /median] [, /average] [, /minimum] [, /maximum])

Arguments
X:   A matrix.
POSITIONS:   A 2xn matrix giving the positions of the stars to be averaged.


Switches
/median:   Return the median of the stars (default).
/average:   Return the average of the stars.
/minimum:   Return the minimum of the stars.
/maximum:   Return the maximum of the stars.