06.01.2015 Views

Astronomical Spectroscopy - Physics - University of Cincinnati

Astronomical Spectroscopy - Physics - University of Cincinnati

Astronomical Spectroscopy - Physics - University of Cincinnati

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

– 47 –<br />

the flat-field division. Alternately, telluric standards can be obtained at the same slit<br />

positions as science targets. Making a ratio <strong>of</strong> the object to telluric standard will also<br />

correct for vignetting along the slit.<br />

4. Make the bad pixel mask. A good bad pixel mask can be constructed from a set<br />

<strong>of</strong> dark and lamps-on flat field images. A histogram from a dark image reveals high<br />

values from “hot” pixels. Decide where the cut-<strong>of</strong>f is. Copy the dark image, call it<br />

‘hot’, set all pixels below this level to zero, then set all pixels above zero to 1. Display<br />

a histogram <strong>of</strong> your flat and decide what low values are unacceptable. Copy the flat<br />

image calling it dead and set all values below this low value to 1. Set everything else<br />

to 0. Finally, take many identically observed flat (on) exposures, average them and<br />

determine a sigma map (in IRAF, this is done using imcomb and entering an image<br />

name for “sigma”). Display a histogram, select your upper limit for acceptable sigma,<br />

and set everything below that to zero in the sigma map. Then set everything above<br />

that limit to 1. Now average (no rejection) your three images: dead, hot and sigma.<br />

All values above 0.25 get set to 1.0 and voila!, one has a good bad pixel mask. One<br />

should then examine it to see if one was too harsh or too lax with your acceptable<br />

limits.<br />

5. Trace and extract spectrum. This step is nearly identical to what is done for the<br />

optical: one has to identify the location <strong>of</strong> the stellar spectrum on the array and map<br />

out its location as a function <strong>of</strong> position. Although the sky has already been subtracted<br />

to first order (Step 1), one might want to do sky subtraction again during this stage for<br />

a couple <strong>of</strong> reasons, namely if one needs to remove astrophysical background (nebular<br />

emission or background stellar light), or if the previous sky subtraction left strong<br />

residuals due to temporal changes, particularly in the sky lines. Be sure not to use<br />

optimal extraction, as the previous sky subtraction has altered the noise characteristics.<br />

If you do subtract sky at this stage, make sure it is the median <strong>of</strong> many values, else<br />

one will add noise. (It may be worth reducing a sample spectrum with and without<br />

sky subtraction turned on in the extraction process to see which is better.) Bad pixels<br />

can be flagged at this stage using the bad pixel mask constructed in Step 4 and will<br />

disappear (one hopes!) when all <strong>of</strong> the many extracted frames are averaged below. In<br />

IRAF the relevant task is apall.<br />

6. Determine the wavelength scale. One has a few choices for what to use for the<br />

wavelength calibration, and the right choice depends upon the data and goals. One<br />

can use the night-sky emission spectrum as a wavelength reference, and in fact at high<br />

dispersion at some grating settings these may be the only choice. (One needs to be at<br />

high dispersion though to do so as many <strong>of</strong> the OH emission lines are hyperfine doubles;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!