REDSPEC is an IDL based reduction package that, although designed with NIRSPEC in mind, has also been used to reduce data from other spectrographs. It was written by the folks at the UCLA IR lab. You will need IDL version 5.3 or higher and the IDL astronomical users library.

NOTE, a newer version of REDSPEC is now available for use with upgraded NIRSPEC data.


Text only REDSPEC manual
Manual (without figures) in gzipped postscript format. (55k)

REDSPEC full manual
Full manual (with figures) in gzipped postscript format. (1 MB)

REDSPEC full manual
Full manual (with figures) in pdf format. (892 k)

REDSPEC code (Original)
Tar file with IDL REDSPEC procedures. For use with Pre-Upgrade NIRSPEC data; i.e. taken before December 2018 (280k)

REDSPEC 3.0 code (NEW)
Tar file with IDL REDSPEC procedures. For use with Post-Upgrade NIRSPEC data, i.e. taken after December 14, 2018. (296k)

REDSPEC GOTCHA

If data are taken without motors initialized (e.g. after a server crash), SPATMAP will default to high resolution mode. If your data is in low resolution mode, you will have to add the FITS header keyword "ECHLPOS" with the value "179.7" to get SPATMAP to run properly.