** Line Out Commands **
For some applications, it is desirable to reduce the two-dimensional images
obtained from the detector to one or more one-dimensional arrays. Examples
are for streak camera readout or spectrographic data. The Lineout Commands
are designed to streamline this operation.
The Line Out menu and several keyboard commands have been added to implement
these features.
Line Out Templates
The regions of the two-dimensional image which are to be summed in one
direction and converted into one-dimensional arrays are specified in a Line
Out Template which is set up using the Template menu selection. A dialog
box is presented which allows the user to specify regions graphically or by
typing the coordinates of the upper left and lower right corners of the
region. Up to 30 regions can be specified in a single template. Each region
can be labeled with a 15 character label. Line Out Templates can be saved
to files or loaded from files. The information is stored in standard text
format and can be edited with any word processor. Each region can be summed
in either x or y direction. Check boxes allow the start and of end of
regions to be aligned with the first Line Out specified.
An example of the text from a Line Out Template follows:
OMA Line Out Template
6
hydrogen
11 4 74 11 0
methane
11 15 74 23 0
Nitrogen
11 25 74 33 0
oxygen
11 35 74 45 0
CO2
11 45 74 49 0
Rayleigh
11 55 74 65 0
The first line of text is included to ensure that the text is indeed a
lineout template and not some other text file.
The second line of text gives the number of Line Outs in the template.
Each Line Out specification consists of two lines of text:
The first is a label of up to 15 characters
The second consists of 5 numbers separated by tabs for spreadsheet
compatibility:
x0 y0 x1 y1 sum_direction_flag
x0 y0 are the upper left corner
x1 y1 are the lower right corner
sum_directio_flag = 0 --> sum in y; the array is in x
sum_directio_flag = 1 --> sum in x; the array is in y
Note that a proper Line Out should have x0 < x1 and y0 < y1.
Enabling the "Show Boxes" checkmark under the Line Out menu causes the
current Line Out regions to be drawn whenever a display command is executed.
They will also be saved in graphics windows if this feature is enabled.