Interactive Responsivity Drift Correction 

Invoking the Interactive Tool 

; Example        ia_drift,dir='/user/iso/data/',tdt='44700574',/newdarks
;
; Arguments    Name           I/O  Type     Description
;                       -------------------------------------------------------------
;                          tdt                I    string     the tdt number associated with the observation. For example if the tdt
;                                                                   number is 44700574 then the routine will look for data files l*44700574.fits.
;                                                                   If not specified the routine assumes that files to be read are called l*.fit
;                                                                   (viz the SOC processed files from the CD_ROM).
;
;                          dir                I     string     the directory from which the input files are to be read. It can be a relative or
;                                                                   absolute path. e.g. dir='data/'.
;                                                                    If not specified then the data are read from the user's curent working directory.
;
;                         /mc                I   keyword   If set, the routine reads the MC-FITS format data files from the ARC_DAT
;                                                                    directory. Only expected to be used by the instrument team.
;
;                        /newdarks     I   keyword    If set, the routine will assume that the user has previously interactively
;                                                                     estimated and subtracted the DC. In this case the LSPD+tdt+_newdarks.fits
;                                                                     file is read in input instead of the standard LSPD file

NOTE: be sure to specify /newdarks keyword if you went through IA_DARK

The following Widget will pop-up (the plot area will be empty; button 'SW3' has been hit in the example below):

A Description of the User Interface 

The black area is the plot window, with its control buttons (Replot, Unzoom, Hardcopy) on its right side. In the example above the 'SW3' button has been hit (see below) and the data (not yet calibrated either in flux or wavelength) collected in the AOT for detector SW3 are shown as a function of time (ITK). The user can zoom in by clicking and dragging using the left button of the mouse. Below the plot area the following groups of button are visible from left to right: A text area at the bottom of the window displays useful messages.  Information about the properties of each data point is also reported in this message window; just click on the plot area with central button of the mouse, and the characteristics of the nearest data point will be reported: time, photocurrent, raster point ID, detector number, line number and scan number.
 

The Responsivity Drift Correction Cookbook 

The following is the list of the steps that should be followed for the Responsivity Drift (---> RD) correction:
 


_____________________________________
Document by: Sergio Molinari, IPAC/Caltech
Last Update: Jan 19, 1999