next up previous contents
Next: 8.5 Low Dispersion Extraction Up: 8 REDUCING SPATIALLY-RESOLVED DATA Previous: 8.3 Old Line-By-Line Files

8.4 Removing and Flagging Blemishes from LBL Data

 Some spectra are affected by cosmic ray hits or other blemishes which affect some of the spectral data in a given wavelength range. These blemishes can be interactively flagged and removed from the spatially-resolved line-by-line data (your ``S'' file) with a choice of programs. For users with windowing workstations, LBLFIX is available:

LBLFIX,'IMAGET',out_file='out_file,/nodelete' 

IMAGET Input LBL file.
out_file LBLFIX writes an output file called lbl_tmp.dat (silo_tmp.dat for SILO files). You may enter a different name via this keyword.
nodelete LBLFIX will normally close the window when the program ends. Specifying the keyword nodelete will prevent the window from being deleted.

LBLFIX is a menu driven program where the user marks the opposite corners of a blemish with the mouse, and also marks the opposite corners of a ``good'' region of background. It accepts both IUESIPS and NEWSIPS files as input, including the NEWSIPS SIHI file. The blemish is replaced by the average of the values in the ``good'' region. There are options for displaying the default extraction slit, changing the color table, etc. Note: LBLFIX uses an IDL command which is not available on PCs or MACs, therefore it will not run on these platforms.

For users who do not have windows, BSPOT is available:

BSPOT,'IMAGET','IMAGO',mode 

IMAGET Input file name.
IMAGO Output file name. This can be specified as 0 or a blank space. If 0 or blank, IMAGET is modified directly. This overwrites the input file unless the machine is a VMS machine, in which case a new version is created.
mode This determines the type of interpolation to be used:
0   Interpolation is performed using the nearest good points.
>0   Interpolation limits are set using the crosshairs.
>1   Interpolation limits are set using the crosshairs, and the modified line is displayed.

Note BSPOT is not (yet) compatible with NEWSIPS SIHI files.


next up previous contents
Next: 8.5 Low Dispersion Extraction Up: 8 REDUCING SPATIALLY-RESOLVED DATA Previous: 8.3 Old Line-By-Line Files

2/9/1998