NAME

qsf - Quadrant shutter focus (qsf) script for in-flight qsf measurements. Takes four fits files as input, one for each quadrant.


PARAMETERS

qsf uses the Getopt style parameter interface, i.e. parameters are specified on the command line as

  qsf --opt_name=opt_value
output rdbfilename

Name of the \RDB format file into which output will be written. If output equals `stdout', output is written to STDOUT.

zn_theta float

Open angle of the quadrant about the negative Z(LSI coords) axis in degrees. Defaults to 90.7806395779283.

yp_theta float

Open angle of the quadrant about the positive Y(LSI coords) axis in degrees. Defaults to 91.2352904568345.

zp_theta float

Open angle of the quadrant about the positive Z(LSI coords) axis in degrees. Defaults to 91.6899413357406.

yn_theta float

Open angle of the quadrant about the negative Y(LSI coords) axis in degrees. Defaults to 91.2352904568345.

yn_y_ave float

Y coord of the Y- quadrant's centroid in mm.

yn_z_ave float

Z coord of the Y- quadrant's centroid in mm.

yp_y_ave float

Y coord of the Y+ quadrant's centroid in mm.

yp_z_ave float

Z coord of the Y+ quadrant's centroid in mm.

zn_y_ave float

Y coord of the Z- quadrant's centroid in mm.

zn_z_ave float

Z coord of the Z- quadrant's centroid in mm.

zp_y_ave float

Y coord of the Z+ quadrant's centroid in mm.

zp_z_ave float

Z coord of the Z+ quadrant's centroid in mm.

focal_length float

The HRMA focal length in millimeters. Defaults to 10061.6109957126.

y float

The Y position of the aim point in mm.

z float

The Z position of the aim point in mm.

aeff1 float

Effective area(cm^2) for shell 1. Defaults to 304.5515511695.

aeff3 float

Effective area(cm^2) for shell 3. Defaults to 210.3886257215.

aeff4 float

Effective area(cm^2) for shell 4. Defaults to 167.945394943.

aeff6 float

Effective area(cm^2) for shell 6. Defaults to 95.0746204935.

help boolean

Print this help info and exit.

version boolean

Print version info and exit.


DESCRIPTION

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 )


AUTHORS

M. Tibbetts

D. Jerius