Do aperture photometry on a list of objects AUTOPHOTOM
If this is TRUE the aperture is centered around the object of interest before the measurement is taken. The position supplied to the program is taken as a starting point and the position of maximum flux is located within a search box of fixed size.
If this is FALSE the position supplied to the program is used as the centre of the aperture.
[HDS]
more.ccdpack.etime
The HDS structure of an NDF can be viewed using the HDSTRACE utility (see SUN/102).
[!]
POSITIVE = _LOGICAL (Read)
‘S’
in the output record. SKYMAG = _REAL (Read)
Not used if USEMAGS is FALSE.
TOLER = _REAL (Read)
Aperture Extraction – The input/output file must contain one line per-object that has the following information:
INDEX XPOS YPOS MAG MAGERR SKY SIGNAL CODE MAJOR ECCEN ANGLE POSITIONS SHAPE
Where the fields have the following meaning:
INDEX | = | unique integer identifying this object. |
XPOS | = | X coordinate of object. |
YPOS | = | Y coordinate of object. |
MAG | = | current magnitude/mean count of object. |
MAGERR | = | current error in magnitude/mean of object. |
SKY | = | current estimate of sky value for object. |
SIGNAL | = | current estimate of the total count in object. |
CODE | = | current object status. |
MAJOR | = | length of semimajor axis of aperture. |
ECCEN | = | eccentricity of object aperture. |
ANGLE | = | position angle of object aperture. |
POSITIONS | = | how the sky regions are determined. |
SHAPE | = | shape of the aperture. |
MAG
, MAGERR
, SKY
, and SIGNAL
) should be set to 0.0, the derived
values will be used to replace these fields on exit. The CODE
field should be set to “OK
” initially. The
POSITIONS
field should have one the values “annulus
” or “regions
”, to indicate how the sky regions
are determined (this is ignored if SKYEST is 4). The SHAPE
field should be set to “circle
” or “ellipse
”
to indicate the aperture shape.Other lines in the file may be comments or definitions of the sky regions. Comment lines start with the
“#
” character, sky regions either with “#ANN
” or “#SKY
” (the #
is used so that other programs can skip
over this information). If the POSITIONS
field of an object is set to “annulus
”, then at least one “#ANN
”
line must be present for this object, this defines the scales or sizes for the inner and outer loci of the
sky region.
#ANN INDEX INNER_SCALE|SEMI_MAJOR OUTER_SCALE|SEMI_MAJOR
The INDEX
value is the identifier of the related object. If POSITIONS
is set to “regions
” then as many
lines starting with “#SKY
” should be present as there are regions (circular or elliptical apertures) in
which to estimate the sky value for this object.
#SKYn INDEX XPOS YPOS SHAPE MAJOR ECCEN ANGLE
The “n
” added to the “#SKY
” identifier indicates the number of the sky region being defined and is
optional. The other fields are the same as for an object aperture.
Optimal Extraction – Then the first star in the file must be the PSF. In this case the following information must be provided:
INDEX XPOS YPOS FWHM1 FWHM2 ROT CODE CLIP SEE POSITIONS
Where the fields have the following meaning:
INDEX | = | For PSF star this MUST be 0. |
XPOS | = | X coordinate of object. |
YPOS | = | Y coordinate of object. |
FWHM1 | = | FWHM of the PSF in the X-direction. |
FWHM2 | = | FWHM of the PSF in the Y-direction. |
ROT | = | Rotation of the FWHM from strict X-Y orientation. |
CODE | = | current object status. |
CLIP | = | clipping radius |
SEE | = | estimate of the seeing in pixels |
POSITIONS | = | how the sky regions are determined. |
FWHM1
, FWHM2
, ROT
) should be set to 0.0, the derived values will be
used to replace these fields on exit. The CODE
field should be set to “OK
” initially. The POSITIONS
field
should have one the values “annulus
” or “regions
”, to indicate how the sky regions are determined
(this is ignored if SKYEST is 4). Aperture must be circular for optimal extraction so no SHAPE
field is
provided.Further stars should be entered with the following information:
INDEX XPOS YPOS MAG MAGERR SKY SIGNAL CODE POSITIONS
Where the fields have the following meaning:
INDEX | = | unique integer identifying this object. |
XPOS | = | X coordinate of object. |
YPOS | = | Y coordinate of object. |
MAG | = | current magnitude/mean count of object. |
MAGERR | = | current error in magnitude/mean of object. |
SKY | = | current estimate of sky value for object. |
SIGNAL | = | current estimate of the total count in object. |
CODE | = | current object status. |
POSITIONS | = | how the sky regions are determined. |
MAG
, MAGERR
, SKY
, and SIGNAL
) should be set to 0.0, the derived
values will be used to replace these fields on exit. The CODE
field should be set to “OK
” initially. The
POSITIONS
field should have one the values “annulus
” or “regions
”, to indicate how the sky regions
are determined (this is ignored if SKYEST is 4). Note that the same clipping radius will be used for all stars (this is an entirely proper and necessary
restriction under the algorithm).
Other lines in the file may be comments or definitions of the sky regions. Comment lines start with the
“#
” character, sky regions either with “#ANN
” or “#SKY
” (the “#
” is used so that other programs can
skip over this information). If the POSITIONS field of an object is set to “annulus
”, then at least one
“#ANN
” line must be present for this object, this defines the scales or sizes for the inner and outer loci of
the sky region.
#ANN INDEX INNER_SCALE|SEMI_MAJOR OUTER_SCALE|SEMI_MAJOR
The INDEX value is the identifier of the related object. A good estimate of the inner radius of the sky
box is about twice the FWHM of the PSF star
If POSITIONS is set to “regions
” then as many lines starting with “#SKY
” should be present as
there are regions (circular or elliptical apertures) in which to estimate the sky value for this
object.
#SKYn INDEX XPOS YPOS SHAPE MAJOR ECCEN ANGLE
The “n
” added to the “#SKY
” identifier indicates the number of the sky region being defined and is
optional. The other fields are the same as for an object aperture.
It is VERY heavily recommended that annuli are used for sky measurement when using the optimal extraction algorithm unless there are obvious reasons for not doing so.