SSC Home Page

Herbig-Haro Objects HH 46/47:
IRS, module LH, 19.3-36.9 micron

Requirements:

  • Follow the instructions on Spectroscopy: Defringing

    Outline of the demo:

    This is a demonstration of using IRSFRINGE to correct a spectral extraction from IRS data for the object Herbig-Haro 46/47 for fringing. We outline the basic steps for using IRSFRINGE as a generic example for correcting spectra of any point source data obtained with Spitzer IRS-Staring Mode. The steps are quite similar to those outlined here. This specific example involves correcting a spectrum from the LH module, but it is generally applicable to any of the IRS modules which suffer from fringing. IRSFRINGE was developed and tested to run under IDL 5.6, and no guarantees are made of it running under other IDL versions.

    Step by Step Guide

    1. First, extract the spectrum of interest, in this case from the LH module, using SPICE. (See the SPICE demo for HH 46/47.) You will produce a "*_spect.tbl" from the extraction. Or, use post-BCD pipeline output ("*_tune.tbl," "*_spect.tbl," or "*_spect2.tbl" files).

    2. Once you have downloaded and installed IRSFRINGE, type the following alias command in the running directory:

       unix% irsfringe 

    3. Read in the IRS data product, either from the pipeline or from SPICE output. In this example, it is the "SPITZER_S3_7130112_8_1_E181777_coa2d.spect.tbl" in the "/output" directory, generated from a SPICE extraction. The spectrum is in IPAC table format and must be read into IRSFRINGE using the 'ipac2irs' command. The spectrum will have the name 'irs' in memory.

       IDL> irs=ipac2irs('/output/SPITZER_S3_7130112_8_1_E181777_coa2d.spect.tbl') 

    4. To run IRSFRINGE on, e.g., order 18 of the spectrum, and do so using the GUI (note: the GUI is still in a developmental stage), enter the following command:

       IDL> irsd=irsfringe(irs,order=18,/GUI) 

      The resulting defringed spectrum will have the name 'irsd' in memory.

    5. The GUI will have the appearance as in the figure below. We can see that IRSFRINGE will act on order 18 (circled in red). The green curve shows the original ('previous') spectrum and, since we have not yet acted on the spectrum, the updated ('current') spectrum, the white curve, is the same as the original. Pressing the 'Defringe test' button (circled in blue) will perform the defringing.

    6. The following screen (see figure below) will pop up. The green line in the upper panel is the original ('previous') spectrum. The blue line in the lower panel is the best (sinusoidal) fit to the fringing pattern, represented by the white points, determined by the cycle finding routine in IRSFRINGE. The red line in the upper panel is the resulting defringing model. The white line in the upper panel is then the original spectrum corrected for the defringing model.

    7. In the main GUI window (see left figure below) will then appear the result of the defringe test, i.e., the original spectrum corrected for the defringing model. If satisfied with the test results, then press the 'Save defringed' button (circled in red in the right figure below). The updated, defringed spectrum appears as the white line (the 'current' spectrum) in the window. Press the "Exit with Current" to exit the GUI with the saved defringed spectrum still in memory.

    8. An output file of the defringed spectrum can then be written to local disk from the IDL prompt. In this example, we write the contents of memory, 'irsd,' to the output file 'SPITZER_S3_7130112_8_1_E181777_coa2d.spect.defringed.tbl' in the directory '/output.' The defringed spectrum in memory needs to be written out once again to IPAC table format, hence, the command 'irs2ipac.' You're done! To exit IRSFRINGE, type 'exit' at the IDL prompt. All of the above, of course, can also be done on the IRSFRINGE command line, without using the GUI. See the IRSFRINGE documentation for command syntax.

       IDL> irs2ipac, irsd, /output/SPITZER_S3_7130112_8_1_E181777_coa2d.spect.defringed.tbl 
      
       IDL> exit
      

    Return to the Data Analysis Demos main page.