#pipescript created by Greathouse at the Summit on 7/11/2017 UT

date=17.0711
slitpa = 0.
fitsdir=archive

##################
PI=Fletcher
PID=2017A014
##################

shift=false
weight=false
subsky = true
skyint = 1 3
sumscan = false
objtype=target

longslit
slitrot=-0.03

#539 cm-1
##################################################################
#####strong line on far right hand side is 539.577
###################################################################

wno0=538.815
jup.3001

wno0=538.869
jup.3013

wno0=538.861
jup.3025

#587 cm-1
###################################################################
#####left hand line of the two middle weak lines is 586.2059
####################################################################

wno0=586.378
jup.3002

wno0=586.435
jup.3014

wno0=586.421
jup.3026

#744 cm-1
#################################################################
#####tom used left line of middle two narrow features is 744.2074
##################################################################

wno0=743.796
jup.3003

wno0=743.905
jup.3015

wno0=743.881
jup.3027

#1248 cm-1
######################################################################
## right line of ch4 p9 triplet = 1246.452
#####################################################################

wno0=1247.673
jup.3006

wno0=1247.722
jup.3018

wno0=1247.720
jup.3030

#2145 cm-1
####################################################################
#####using 2145.467 first deep line to the right of the central transparent window
#####################################################################
thr=0.25

wno0=2144.744
jup.3000

#jup.3011 focusing ignore

wno0=2144.842
jup.3012

#jup.3023  focusing ignore

wno0=2144.845
jup.3024

#762 cm-1
#############################################################
####used ozone line right hand of very weak doublet between
####right hand two strong doublet features is 763.9900
#######################################################
thr=0.5

wno0=761.765
jup.3004

wno0=761.881
jup.3016

wno0=761.857
jup.3028

#818 cm-1
###################################################################
#####3rd line from the right is 818.7125
###################################################################

wno0=819.317
jup.3005

wno0=819.360
jup.3017

wno0=819.436
jup.3029

#low res
slitrot=-0.05

#966 cm-1
######################################################################
#####used 3rd line right of the weakest featur in the middle is 966.2504
########################################################################

wno0=967.637
jup.3007

wno0=967.867
jup.3019

wno0=967.622
jup.3031

#900 cm-1
#############################################################################
#####strongest line in this setting 908.9538
##############################################################################

wno0=900.954
jup.3008

wno0=900.710
jup.3020

wno0=900.927
jup.3032

#1136 cm-1
######################################################################
#####moderate line right of strong line in center 1137.4258
#######################################################################

wno0=1139.377
jup.3009

wno0=1139.384
jup.3021

wno0=1139.528
jup.3033

#1165 cm-1
######################################################################
####tom used the left line of doublet on far left of spectrum
#### 1151.545
#######################################################################

wno0=1168.655
jup.3010

wno0=1169.013
jup.3022

wno0=1168.842
jup.3034

###################
PI=Bezard
PID=2017A045
###################

crossdisp

#841 cm-1
#allene

shift=true
weight=true
subsky=true

#juno
objtype=calibration
#use 841.9023,6
hrr=9.758
wno0=841.767
sumspec=juno.allene
juno.3035
juno.3036
juno.3037
juno.3038
juno.3039
storesum

#going to titan
objtype=target
sumspec=tit.allene
tit.3040
tit.3041
tit.3042
tit.3043
storesum

#CH3 on Titan at 607 cm-1
shift=false
weight=false
#tit.3044  ;ch3 but with wrong slit widht
#608.3085,2
wno0=609.826
hrr=9.981
tit.3045
tit.3046

#previous titan ch3 was two orders off to the blue
#608.3085,4
wno0=608.502
hrr=9.981
tit.3047  ;gain needs to be reduced, but at right wavelength

sumspec=tit.ch3
tit.3048
tit.3049
only = 1 11
tit.3050
storesum
sumspec=tit.ch3b
tit.3053
tit.3054
tit.3055
tit.3056
storesum


#moved by 1 arcsec east after pair 11 in 3050
#skip=1 11
#sumspec=tit.ch3e   #1 arcsec east
#tit.3050
tit.3052
#storesum

#moved by 1 arcsec west of nominal 
#sumspec=tit.ch3w   #1 arcsec west 
tit.3051
#storesum

end
