function photometry

Perform aperture photometry on X. This function returns a 3xn matrix with the following information: measured counts, normalized counts (Jansky), magnitude.

Syntax
result = photometry(X, POSLIST, REFLIST, SEARCHBOX, RADIUS, [,/u | /b | /v | /r | /i | /j | /h | /k | /l | /m | /n])

Arguments
X:   The image on which to do aperture photometry
POSLIST:   A 2xn matrix containing the positions of the stars
REFLIST:   A 1xm matrix containing magnitudes of reference stars (in the same order as in poslist), with a value > 20.0 if not to be used
SEARCHBOX:   Within a box with this radius the local maximum of the stars are searched
RADIUS:   The radius of the circular aperture used for photometry


Switches
/u:   Do photometry for U-Band (epsilon = 3.274)
/b:   Do photometry for B-Band (epsilon = 3.674)
/v:   Do photometry for V-Band (epsilon = 3.581)
/r:   Do photometry for R-Band (epsilon = 3.479)
/i:   Do photometry for I-Band (epsilon = 3.386)
/j:   Do photometry for J-Band (epsilon = 3.248)
/h:   Do photometry for H-Band (epsilon = 3.08)
/k:   Do photometry for K-Band (epsilon = 2.8) (default)
/l:   Do photometry for L-Band (epsilon = 2.49)
/m:   Do photometry for M-Band (epsilon = 2.26)
/n:   Do photometry for N-Band (epsilon = 1.63)