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
/b:   Do photometry for B-Band
/v:   Do photometry for V-Band
/r:   Do photometry for R-Band
/i:   Do photometry for I-Band
/j:   Do photometry for J-Band
/h:   Do photometry for H-Band
/k:   Do photometry for K-Band (default)
/l:   Do photometry for L-Band
/m:   Do photometry for M-Band
/n:   Do photometry for N-Band