| aperlocy | stsdas.hst_calib.fos | aperlocy |
aperlocy -- Analyze a FOS target acquisition image.
aperlocy input table
This routine will determine the location of a source in a Faint Object Spectrograph (FOS) target acquisition image. Results will either be placed in a new table or appended to an existing table. The following information about the image is extracted by this task:
o The left and right edge positions of the signal, computed as
the location where the flux is 1/2 the maximum flux in the
X-profile of the image (computed by summing image lines).
o The upper and lower edge positions in the Y-profile, as
computed by summing samples in each line.
o The X-center and Y-center (i.e., the midpoint of the edge
positions on each axis).
o The X and Y flux-weighted centroid of the image.
o The X and Y centers computed by cross-correlating the X and
Y profiles with templates of user-specified widths.
o The area of the image, computed as:
(right_edge - left_edge) * (lower_edge - upper_edge)
o The total flux in the image.
Output units are selectable.
One option is for units of diodes in the X-direction and deflection
(ybase) units in the Y-direction and the other option is for units
of image pixels in both the X and Y directions.
In the event that both apertures of a paired aperture are viewed in a single image, the image will be divided, and each aperture processed separately. The first image will be from Y-positions yfirst to ymiddle, and the second from Y-positions ymiddle to ylast.
'APER_ID' - Aperture name.
'APER_POS' - Aperture position (single, lower, or upper).
'LEFT_EDGE' - Location of left edge.
'RIGHT_EDGE' - Location of right edge.
'UPPER_EDGE' - Upper edge location.
'LOWER_EDGE' - Lower edge location.
'X_CENTER' - Center computed from edges (or on-board
deflection calibration of 'SC1' and 'SC2').
'Y_CENTER' - Center computed from edges or the on-board
deflection calibration.
'X_CENTROID' - Centroid in the X-direction.
'Y_CENTROID' - Centroid in the Y-direction.
'X_CROSSCOR' - Center in X from cross-correlation.
'Y_CROSSCOR' - Center in Y from cross-correlation.
'AREA' - Area of aperture computed from edge positions.
'FLUX' - Total flux in the image.
'TIME' - Spacecraft packet time (for first line of data).
1. Process a single aperture using all groups of the observation image fosmap.c1h. Create a new table called apertab for the results. The results will be in units of diodes and ybases.
fo> aperlocy fosmap.c1h apertab
2. Process another image called fosmap2.c1h, appending the results to apertab; process both apertures of a paired aperture. Separate the apertures at Y-position equal to 1600.
fo> aperlocy fosmap2.c1h apertab tabstat=append ymiddle=1600
3. Process only the lower aperture of a paired aperture image called y13c1234t.c1h. Restrict the search to a y-axis upper limit corresponding to a y-position of -244 ybase units.
fo> aperlocy y13c1234t.c1h apertab ylast=-244 aperpos=lower
4. Process only the lower aperture of a paired aperture image restricting the search to a y-axis upper limit of 32 pixels. Also have the results computed in units of pixels.
fo> aperlocy y13c1234t.c1h apertab pixels=yes ylast=32 aperpos=lower
Howard Bushouse, STSDAS
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.