Quick Reduction of Kast Long-slit Data Using KastRedux
As part of the KastRedux package, there is a routine designed to
quickly reduce single object spectra.
A fully reduced
1D spectrum is produced in <1 min of time (non-optimal mode) on the
orthrus. Assuming all of the paths have been properly setup
on the user account
(source ~/.cshrc-xidl),
one takes the following steps:
- Launch IDL v5.4 after setting these paths
prompt> idlde -32 (alternatively, idl -32)
- Run kast_qckrdx:
IDL> kast_qckredux, 'obj_file', 'flat_file', spec, sig
- Plotting (try one of the following):
IDL> x_splot, spec, ytwo=sig
IDL> x_specplot, spec, sig, wave=wave, inflg=4
A 1D spectrum and error array will be put in the variables spec and sig.
You can plot these with x_splot as noted above.
Options:
- ARC='arc_file' :: specifies an arc image
- WAVE=wave :: will create a wavelength array
provided an Arc image
- GRISM='B1' :: Specifies the grism/grating used.
Default is 'B1'
- /OPTIMAL :: Perform optimal extraction (based on a SDSS routine).
This is a particularly expensive option on orthrus, not so bad on a fast
machine.
- OBJLIN=# (Integer indicating the rough row # of the object; By
default, the program assumes the y-center of the 2D-image)
- TRACE=array (Input a trace array for non-continuum objects
Limitations:
- Primarily tested on quasars.
- Only can wavelength calibrate data with the B1 grism. This will
be updated shortly.
e-mail: xavier@ucolick.org
last modified 03/18/04