Skip to content

Instantly share code, notes, and snippets.

@autocorr
Created November 24, 2014 13:34
Show Gist options
  • Save autocorr/6cfc0150049fb347ef67 to your computer and use it in GitHub Desktop.
Save autocorr/6cfc0150049fb347ef67 to your computer and use it in GitHub Desktop.
!!! write spectra to fits
@p:header
!!! read in and select data
file in class_022.smt
set source "RhoOphE"
set line "HTCOP"
set telescope SMT-FQM-*
find
!!! write data to file
set extension .fits
file out "outfile" new
for i 1 to found-1
get next
write
next
@p:tailer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment