7.5.11 DARK_SUB


next up previous contents
Next: 7.5.12 GET_DC_IMAGE Up: 7.5 Routines for Calibration Previous: 7.5.10 MK_SFD

7.5.11 DARK_SUB

   

It is possible to have the dark current removed from PFI and FFI images by using the following command:
IDL> data_out = dark_sub(index,data)
  The routine can interpolate between two reference images to simulate the input exposure duration by using the /interpolate option. It will call the routine GET_DC_IMAGE to get the proper image and take the subsection for the PFI cases. The SDC data files for the time period being calibrated must be in the directory $DIR_SXT_SDC.

The /interpolate option can be turned on and run automatically every time DARK_SUB is run by setting the environment variable ys_dark_interp. An example of how to turn this on and off is:
% setenv ys_dark_interp 1 # will enable automatic interplation

% unsetenv ys_dark_interp # will disable automatic interplation
LEAK_SUB calls DARK_SUB if the input data is BYTE type, so normally a user does not need to call DARK_SUB directly.


ydac@mssly1.mssl.ucl.ac.uk