#	pipescript for Feb 12 2019

date=19.0213
slitpa = 0.
fitsdir=archive

###############
PI=Beck
PID=2019A093
################

#	H2 S(2)
#flatmode = blksky
#tortmode = flat
#crossdisp
weight = true
shift = true
subsky = true
ffttort=true

objtype=target
#setwno # use 812.484 in order 3 or 815.598 in 8?
wno0 = 813.721
hrr = 10.034
atau.3001


#	all the ttau files seem to have good data but its catching the edge of
#	a partial order for some files

setwno	# again using 812.484 in order 3
hrr = 10.034
wno0 = 813.720
sumspec = ttau.814
ttau.3002
ttau.3003
ttau.3004
ttau.3009
ttau.3005
storesum

#	picked up half of an order at left end
#	812.484 now in order 4
hrr = 10.0345
wno0 = 813.7205
sumspec = ttau.813
ttau.3006
ttau.3007
ttau.3008
storesum

objtype=calibration

#setwno	# 812.484 back in order 3
hrr = 10.034
wno0 = 813.721
sumspec = bn.814
bn.3010
bn.3011
storesum


ffttort=false

# starting H2 S(1) on calibrator, BN
# moved parabaloid to see blue
#setwno  # used 588.141 in order 6
wno0 =    586.233
hrr = 9.587
sumspec=bn.587
bn.3012
bn.3013
storesum

objtype=target

sumspec=ttau.587
ttau.3014
ttau.3015
ttau.3016
ttau.3017
ttau.3018
ttau.3019
ttau.3020
ttau.3022
storesum
# tracking error for ttau.3021
# file 22 ended early due to power failure
###############
PI=Stancil
PID=2019A081
################

#reversing parabaloid from S(1) adjustment
#going to 1178cm-1, Sirius

#setwno  # took line by-eye 1177.46 in order 7
objtype=calibration
hrr=9.908
wno0=1177.362
sumspec=acma.1178
acma.3023
acma.3024
acma.3025
acma.3026
acma.3027
storesum
#.3028  # lost guiding on sirius

objtype=target
hrr=9.908
wno0=1177.362
sumspec=i10216.1178
i10216.3029
i10216.3030
storesum


hrr=9.908
wno0=1177.362
sumspec=cit6.1178
cit6.3031
cit6.3032
cit6.3033
cit6.3034
storesum

#setwno  #use 760.894 in order 15
hrr=9.8802
wno0=758.2214
cit6.3035
objtype=calibartion
pal.3036

#setwno # use line at (by eye)758.43 in order 4
hrr=9.895
wno0 =    758.210
pal.3037

objtype=target

#cit6.3038 and 3039 were bad   
cit6.3040


#######################################################################
#######################################################################

#################
PI=Antunano
PID=2019A008
#################

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

longslit

##1936
############################################################
#######narrow line right of double blend in center is 1937.9480
##############################################################

wno0=1935.460
flat.3051
jup.3051

wno0=1935.459
jup.3063

wno0=1935.631
#jup.3075  garbage, messed up the setting on setup
jup.3076

wno0=1935.507
jup.3088


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

wno0=539.157
jup.3042

wno0=539.167
jup.3054

wno0=539.203
jup.3066

wno0=539.176
jup.3079

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

wno0=587.963
jup.3043

wno0=586.984
jup.3055

wno0=587.086
jup.3067

wno0=587.135
jup.3080

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

wno0=744.411
jup.3044

wno0=744.379
jup.3056

wno0=744.420
jup.3068

wno0=744.545
jup.3081

#762 cm-1
###############################################################
#######used right hand peak of strong dubblet on the left 760.4873
##########################################################

wno0=762.472
jup.3045

wno0=762.429
jup.3057

wno0=762.493
jup.3069

wno0=762.488
jup.3082

#819 cm-1
#####################################################################
########4th line from the right is 818.7125
######################################################################

wno0=820.206
jup.3046

wno0=820.020
jup.3058

#####################################################################
########3rd line from the right is 818.7125
######################################################################

wno0=819.758
jup.3070

wno0=819.753
jup.3083

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

wno0=1248.472
jup.3047

wno0=1248.353
jup.3059

wno0=1247.827
jup.3071

wno0=1248.022
jup.3084

#2140
###############################################################
#first deep line to the right of the central transparent window, 2145.467
###############################################################
thr=0.25
wno0=2141.073
flat.3041
jup.3041

wno0=2140.815
flat.3053
jup.3053

wno0=2140.977
jup.3065

wno0=2140.977
jup.3078


#966
########################################################################
########used 3rd line right of the weakest featur in the middle is 966.2504
###########################################################
thr=0.5

slitrot=-0.06
wno0=966.305
jup.3048

wno0=966.588
jup.3060

wno0=966.644
jup.3072

wno0=966.794
jup.3085


#900
##############################################################################
########strongest line in this setting 908.9538
###################################################################

wno0=899.200
jup.3049

wno0=899.653
jup.3061

wno0=899.895
jup.3073

wno0=899.918
jup.3086

#1165
########################################################################
###strongest line in setting is 1174.55
##################################################################

wno0=1166.103
jup.3050

wno0=1166.961
jup.3062

wno0=1166.821
jup.3074

wno0=1166.990
jup.3087



#2125
################################################
#left line of strong set of three center right 2127.6829
########################################################################
thr=0.25

slitrot=-0.03
wno0=2126.713
jup.3052

wno0=2126.906
flat.3064
jup.3064

wno0=2126.956
flat.3077
jup.3077

wno0=2126.930
flat.3089
jup.3089
jup.3090


#These are actually Venus, i changed the object name but messed up the file
#name :(

###########
PI=Encrenaz
PID=2019A019
###########

crossdisp

#########################################################################
###1345 cm-1
###1344.0646,3
############################################################################

slitrot=0

hrr=9.8562
wno0=1344.9657
jup.3091
jup.3092
jup.3093
jup.3094

#########################################################################
###1345 cm-1
###1344.0646,2
############################################################################
wno0=1344.964
hrr=9.861
jup.3101
jup.3102
jup.3103
jup.3104

########################################################################
###530 cm-1
###530.409,3
#########################################################################

wno0=529.765
hrr=9.873
jup.3095
jup.3096

wno0=529.765
hrr=9.874
jup.3105
jup.3106

#########
PI=Giles
PID=2019A010
############

#793 cm-1
######################################################################
###794.5851,7
######################################################################

wno0=793.297
hrr=9.906
jup.3097
jup.3098
jup.3099
jup.3100


wno0=793.296
hrr=9.907
jup.3108
flatmode=old
jup.3107
jup.3109
jup.3110

kbd
end

