qsf - Quadrant shutter focus (qsf) script for in-flight qsf measurements. Takes four fits files as input, one for each quadrant.
qsf uses the Getopt style parameter interface, i.e. parameters are specified on the command line as
qsf --opt_name=opt_value
Name of the \RDB format file into which output will be written. If output equals `stdout', output is written to STDOUT.
Open angle of the quadrant about the negative Z(LSI coords)
axis in degrees. Defaults to 90.7806395779283.
Open angle of the quadrant about the positive Y(LSI coords)
axis in degrees. Defaults to 91.2352904568345.
Open angle of the quadrant about the positive Z(LSI coords)
axis in degrees. Defaults to 91.6899413357406.
Open angle of the quadrant about the negative Y(LSI coords)
axis in degrees. Defaults to 91.2352904568345.
Y coord of the Y- quadrant's centroid in mm.
Z coord of the Y- quadrant's centroid in mm.
Y coord of the Y+ quadrant's centroid in mm.
Z coord of the Y+ quadrant's centroid in mm.
Y coord of the Z- quadrant's centroid in mm.
Z coord of the Z- quadrant's centroid in mm.
Y coord of the Z+ quadrant's centroid in mm.
Z coord of the Z+ quadrant's centroid in mm.
The HRMA focal length in millimeters. Defaults to 10061.6109957126.
The Y position of the aim point in mm.
The Z position of the aim point in mm.
Effective area(cm^2) for shell 1. Defaults to 304.5515511695.
Effective area(cm^2) for shell 3. Defaults to 210.3886257215.
Effective area(cm^2) for shell 4. Defaults to 167.945394943.
Effective area(cm^2) for shell 6. Defaults to 95.0746204935.
Print this help info and exit.
Print version info and exit.
qsf determines the best focus from four centroids, one for each quadrant. It outputs tilts estimates, and focus errors.
y and z should be set to the center of the full image. They are subtracted off of the values for each quadrant to appease an assumption in the shutter focus algorithm that the quadrants are centered at 0, 0.
Note that the centers for all four quadrants as well as the y and z parameters are in units of millimeters.
Output tilts are in radians where positive y tilt corresponds to a rotation
taking +X towards +Z about Y(front up, back down) and positive
z tilt corresponds to a rotation taking +X towards +Y about
Z(counterclockwise looking down; front left and back right as
viewed from detector looking towards source).
Output consists of 7 columns. Y, Z coordinates about which to center the shutter focusing, Y and Z tilts, Y and Z focus error estimators, and the focus error. ( y, z, tilt_y, tilt_z, foc_err_est_y, foc_err_est_z, foc_err )
M. Tibbetts
D. Jerius