IDL codes for SpeX 5um image reduction
How to use:
Download (or copy) this repository,
then download astron library from https://github.com/wlandsman/IDLAstro
and set IDL path to this directory (including sub-directory).
Modify some path in "irtf_spex_5um_processing.pro" following your environment, and run.
--
If you are interested in geometry calculation,
download QUATERNIONS libraries from https://cow.physics.wisc.edu/~craigm/idl/math.html in Markwardt IDL
and see the geometry calculation part in "irtf_spex_5um_processing.pro"