ING logoPROCESS: process image data

This page is part of the ING document INS-DAS-24: client-server interface for control of cameras
 



Purpose: to prepare from the raw readouts of a run the image-data required for display and archiving.

Actors: udas_run client; udas_camera server; image display.

Outline: the client invokes the process action. The server combines the raw data to get the data that must be saved in the eventual FITS file; it stores these data and send a copy to the display.

Valid processing actions:

assemble: arranges image-fragments within each readout according to its pre-set configuration.
coadd: coadds all readouts tagged with the same number
average: averages the coadded readouts: it divides each pixel by the number of readouts in the coaddition.
subtract: subtracts the first coadded readout in the data-set from the second coadded readout.
diff_pre: subtracts the first coadded readout in the data-set from the second coadded readout, and discards the individual readouts.
slope_reads: calculates the slope of the readouts in a read-up-the-ramp sequence.
slope_only: calculates the slope of the readouts in a read-up-the-ramp sequence, and discards the individual readouts.


Normal course of events:

  1. Client is sequencing a run. It has already invoked as many readouts as are required for this run and these are stored by server in the run context of rank zero (q.v. the RUN action). The output-image display is turned on (q.v. the DISPLAY action).
  2. Client invokes the PROCESS action on server with these arguments:
  3. Server takes the readouts of the run and combines them to make a set of output images. The processing steps are as follows:
    1. Server arranges image-fragments within each readout according to its pre-set configuration.
    2. Server coadds all readouts tagged with the same number (the tag is set in the READOUT action).
    3. Server averages the coadded readouts: it divides each pixel by the number of readouts in the coaddition.
    4. Server subtracts the first coadded readout in the data-set from the second coadded readout.
  4. Server returns good status to client.
  5. Server sends the output images to the display.
Variations: Notes: