| This documentation is intended both for QC scientists and SciOps astronomers (who may want to ignore the technical information displayed in grey). | 
|  | 
  |  | 
|  | 
|  | 
| bottom  
  plots  
   |    
  contact | 
  |  | 
| NAME | dark.prg | 
  |  | 
| VERSION | 1.0 -- May 2003 1.1 -- mbias subtraction done already in the pseudo-recipe (2004-05-19)
 1.2 -- switched to master_dark recipe (2007-07-18)
 1.3 -- included GLOW parameters (2008-01-28)
 1.4 -- switched off GLOW parameters and adapted to new CCD (2008-05)
 
 | 
  |  | 
| SYNTAX | MIDAS | 
  |  | 
| CALL | processQC -a dark_ab_name | 
  |  | 
| INSTRUMENT | GIRAFFE | 
  |  | 
| RAWTYPE | DARK | 
  |  | 
| PURPOSE | compares raw and product DARK files 
  for FLAMES_GIRAFFE QC assessment;
  QC1 values are calculated, a QC1 plot is generated,
  displays are generated. The QC1 data are fed into the 
	QC1 database. | 
  |  | 
| PROCINPUT | we need a set of N files with same exposure times, at least N=3. first raw DARK, plus MASTER_DARK
 | 
  |  | 
| QC1TABLE | trending | table(s) in QC1 database: giraffe_dark
 | 
  |  | 
| TRENDPLOT | trending | HealthCheck plot(s) associated to this procedure: trend_report_DARK_HC.html | 
../FULL/trend_report_DARKFULL.html
 | 
  |  | 
| QC1PAGE | trending | associated documentation: dark_qc1.html
 | 
  |  | 
| QC1PLOTS top
 | dark1.gif
 box1: display of first raw file
       upper panel: middle row and middle column, full pixel range, in ADU; should show signal at the BIAS level plus a few spikes
       lower panel: middle row and middle column, central 100 pixels, in ADU
 box 2a: histogram: all pixel values in log frequency histogram, for first raw frame; there should be a dominant peak with Gaussian shape (which translates to parabola shape in this log freq diagram); the tail is due to cosmics.
 box 2b: same for (bias-subtracted) master dark; it should peak at zero and be very narrow. Any shift from zero is interpreted as dark current.
 
 dark2.png
 full display of first raw frame
 
 dark3.png
 full display of master frame (small rectangle marks closeup)
 
 dark4.png
 closeup of raw frame
 
 dark5.png
 closeup of master
 | 
  |  | 
| QC1PARAM | QC1 parameters written into QC1 table: QC1db names: datancom | exptime | current_dark (for old CCD: glow_dark | glow_posx | glow_posy)
 FITS key names: DATANCOM | EXPTIME | DARK.CURRENT
 | 
  |  | 
| ALGORITHM | Description of algorithms: see dark_qc1.html | 
  |  | 
| CERTIF | These data are for Health Check and are usually never rejected. Possible reasons for rejection could be: - unusually high dark current due to light leaks
 - non-even exposure times (normally there are N=3 raw DARKs with exptimes close to 3600 sec each)
 
 | 
  |  | 
| COMMENTS | The master dark comes in units ADU/sec. A set of 3 darks should be acquired once every month. | 
  
    | top | [2015-10-29T10:06:18]         created by qcDocu v1.1.2, a tqs tool |