Worksheet 2 - Calibrating EIS data (eis_prep)#

In general the user should calibrate EIS data before he/she attempts to look it. This is because EIS data are affected by warm pixels on the CCD which make it difficult to study the images.

For the current case, if we set the EIS filename to:

IDL> filename=

To calibrate your data, the standard call to eis_prep is

IDL> eis_prep,filename,/default,/save,/retain,/quiet

The /save keyword results in two files being created in the user's directory

TIP: it is a good idea to compress these files with gzip and move them to a directory called /level1.

NOTE: “bad” data (referred to as missing) are flagged with a value of -100 in the error FITS file arrays (not the level-1 arrays). The missing data in the level-1 arrays are replaced with the median value of the surrounding pixels. This is useful for display purposes, but for scientific analysis you should not use any pixels flagged as missing. With the /default option, eis_prep does the following things:

  • Flag any saturated data as missing (saturated data have a DN value of 16383)
  • Remove the CCD pedestal and dark current
  • Flag hot pixels as missing
  • Flag warm pixels as missing (not implemented at present)
  • Flag cosmic rays as missing
  • Calibrate data, and create error arrays

Exercise#

  1. Using commands from Worksheet 2, how many pixels in the Fe XII 195 data array have been flagged as missing by eis_prep?