BOXM
Name
boxm
Purpose (one Line)
Find location of a maximum within a sub-array.
Description
Category
CCD data processing
Calling Sequence
boxm, image, xcen, ycen, deltax, deltay, xmax, ymax
Inputs
image : Image array.
xcen, ycen : Center of sub-array.
deltax : Half-width of sub-array.
deltay : Half-height of sub-array.
Optional Input Parameters
Keyword Parameters
ABSMAX : Flag, if set, looks for pixel with greatest absolute value.
Outputs
xmax, ymax : Coordinates, in image, of local maximum.
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
Ported by Doug Loucks, Lowell Observatory, 1992 Oct, from the
C-language version written by Marc Buie.
4/1/93, DWL, Added argument validation (badpar).
1/26/94, MWB, Added ABS argument.
12/13/95, MWB, added support for 3-d input arrays.
98/09/21, MWB, added NOCHECK keyword to speed up execution.
2002/07/12, MWB, changed function so that xcen,ycen,deltax,deltay
are changed to long. xcen,ycen are rounded, deltax/y
are truncated.