/* This file is used by cs1/ getkeyinfo1.c and dodark.c for scaling the NUV dark reference image depending on temperature, as gotten from the OM2CAT keyword. */ # define CELSIUS_TO_KELVIN 273.15 /* add to Celsius to get Kelvin */ # define MIN_OM2CAT 10. /* 10 deg C is minimim valid value */ /* DARKRATE is the nominal NUV dark count rate per second over the entire detector, gotten by summing counts in i9u1759io_drk.fits[1], excluding pixels flagged as bad. This is used in NUVFactor in dodark.c. With this value of DARKRATE, the factor for scaling the NUV dark image will be one if the temperature is 35.5764 degrees C. */ # define DARKRATE 1189.3