| lmap | stsdas.hst_calib.hrs.z_calib | lmap |
lmap -- Compute the photocathode mapping function (i.e., the line direction).
lmap input table
Determine the Y-deflections needed to center the edges on the main diode array using observations of the upper and lower photocathode mask edge with the flat field lamp on. Edge positions are determined by constructing an edge profile as a function of Y-deflection by summing the diodes in the range dfirst to dlast for each Y-deflection. The edge is then computed as the Y-deflection where the summed counts is equal to the average of the minimum and maximum counts for the edge. This process is done for both the upper and lower edge.
The coefficients in the following equation are computed, assuming the line position of the upper edge is 0 and the lower edge is 430.
L = L0 + A * dy
where:
dy - Y-deflection minus 2048,
L - line position, and
L0 and A - mapping coefficients.
'DETECTOR' - Detector number (integer).
'YDEF' - Y-deflection (integer).
'L0' - Mapping coefficient (double).
'ERROR_L0' - Error in 'L0', set to 0.0 (double).
'A' - Mapping coefficient (double).
'ERROR_A' - Error in 'A', set to 0.0 (double).
Note that the ERROR_L0 and ERROR_A columns are required by RSDP, but are not used.
1. Compute the mapping coefficients using observations in the input images, data1, data2, data3, and data4. The results are to be placed in the table lincoef.
hr> lmap data1[*],data2[*],data3[*],data4[*] lincoef
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.