function markpos

Mark positions using ds9. The positions are returned as a 2xn matrix, where n denotes the number of positions marked. Pressing the key 'q' will quit marking positions. When typing numbers between 1 and 9 the values are stored at that specific position. This way values can be overwritten. (Use ds9 v5.2 or newer!)

Syntax
result = markpos(X [, int radius] [, /nocenter])

Arguments
X:   The image to be displayed on saoimage
radius:   Optional, the radius around which the brightest pixel is searched for using centroid-method.


Switches
nocenter:   Has no effect when no radius is supplied. Returns the local maximum in the radius around the marked pixel.


See also
function saomark