tclAperture.c
ABSTRACT:
Measuring aperture counts in regions
C ROUTINE CALLED :
MeanFindInAperture
in atAperture.html
TCL SYNTAX:
meanFindInAperture "<reg>" "<row>" "<col>" "<outRadius>" "-inRadius"
TCL HELP STRING:
Find the mean pixel value in an annulus centered at (row,column)
between inRadius and outRadius. Return a keyed list of the mean,
meanErr, pixels (the number of pixels used) and retVal (return value:
0 is ok; 1 if radius extends over edge of image; 2 if there is a
serious memory problem)
TCL ARGUMENTS:
:
"<reg>" : the region to measure
"<row>" : row of aperture center
"<col>" : column of aperture center
"<outRadius>" : outer radius (in pixels)
"-inRadius" : inner radius (in pixels) Default : 0
C ROUTINE CALLED :
MeanFindInAperture
in atAperture.html
TCL SYNTAX:
medianFindInAperture "<reg>" "<row>" "<col>" "<outRadius>" "-inRadius"
TCL HELP STRING:
Find the median pixel value in an annulus centered at (row,column)
between inRadius and outRadius. Return a keyed list of the mean,
meanErr, pixels (the number of pixels used) and retVal (return value:
0 is ok; 1 if radius extends over edge of image; 2 if there is a
serious memory problem)
TCL ARGUMENTS:
:
"<reg>" : the region to measure
"<row>" : row of aperture center
"<col>" : column of aperture center
"<outRadius>" : outer radius (in pixels)
"-inRadius" : inner radius (in pixels) Default : 0
C ROUTINE CALLED :
MeanFindInAperture
in atAperture.html
TCL SYNTAX:
clippedMeanFindInAperture "<reg>" "<row>" "<col>" "<outRadius>" "-inRadius" "-nsig" "-niter"
TCL HELP STRING:
Find the clipped mean pixel value in an annulus centered at (row,column)
between inRadius and outRadius. Reject at nsig sigmas at each of niter
iterations. Return a keyed list of the mean, meanErr, pixels (the number
of pixels used) and retVal (return value: 0 is ok; 1 if radius extends
over edge of image; 2 if there is a serious memory problem)
TCL ARGUMENTS:
:
"<reg>" : the region to measure
"<row>" : row of aperture center
"<col>" : column of aperture center
"<outRadius>" : outer radius (in pixels)
"-inRadius" : inner radius (in pixels) Default : 0
"-nsig" : number of sigmas for rejection Default : 5.0
"-niter" : number of iterations Default : 2