############################################
##Pipescript written by Greathouse 
## 10/04/21
##using F90 version of fife
#Greathouse completed piping the data on 10/4/2021
########################################

date = 21.1004
slitpa = 180.
fitsdir = archive

###########################
PI=Antunano
PID=2021B010
##########################

thresh = 0.25
longslit

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

#2140
#################################################################
###first deep line to the right of the central transparent window, 2145.467
#################################################################

wno0=2140.150
flat.8000
jup.8000


#539 cm-1
#####################################################################
#########strong line in the middle  539.577
#######################################################################
thr=0.5

wno0=-538.882
flat.8001
jup.8001

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

wno0=586.482
flat.8002
jup.8002

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

wno0=743.824
flat.8003
jup.8003

#762 cm-1
################################################################
########used left hand peak of strong dubblet in middle 761.7561
###########################################################

wno0=761.863
flat.8004
jup.8004

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

wno0=819.082
flat.8005
jup.8005

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

wno0=1247.539
flat.8006
jup.8006


#966
#########################################################################
#########used 3rd line right of the weakest featur in the middle is 966.2504
############################################################
##changed to lowres
##KROT nominally set to -0.010

#krot=-0.02

wno0=967.177
flat.8007
jup.8007
jup.8008

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

wno0=900.156
flat.8009
jup.8009

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

wno0=1168.564
flat.8010
jup.8010

#############################################
PI = Harper
PID = 2021B016
###########################################

shift = true
weight =true
subsky = true
crossdisp

##########################################################################
#####hi-med
#####557 cm-1
###The right hand line in order 4 is CO2 and the wavenumber below
###is the correct one accounting for shifting due to being atop 
###of Mauna Kea.
#####557.715106,3
##############################################################################

objtype=calibration
#below file is actually callisto
wno0=557.6606
hrr=9.736
jup.8011

objtype=target
sumspec=vvcep.557
vvcep.8012
vvcep.8013
vvcep.8014
vvcep.8015
vvcep.8016
vvcep.8017
#vvcep.8018  variable background
#vvcep.8019
storesum

###################
PI = Lacy
PID = 2021B081
##################

shift=true
weight=true
subsky=true

#1277 cm-1
#NGC 7538 IRS 1

############################################################
#sharp ozone line 1276.626,6
#######################################################

wno0=1276.676
hrr=9.918

objtype=target
ngc7538.8020
ngc7538.8021
#we weren't in perfect focus and the nod was too big.
#I focused on the object and then reduced the nod to 2 arcsec
#seeing is down around 0.4 arcsec, but the skies are not clear
#some thin cirrusy stuff plus high humidity.

objtype=target
sumspec=ngc7538.1277
ngc7538.8022
ngc7538.8023
ngc7538.8024
skip = 1 16    #our pointing shifts as we get close to zenith (flexure i think)
ngc7538.8025
ngc7538.8026
ngc7538.8027
ngc7538.8028
ngc7538.8029
storesum

#1263
#1261.6382,2
#############################
#ngc7538.8030  we started on it and decided to change nod size so we quit 

objtype=target
wno0=1264.1031
hrr=9.917
sumspec=ngc7538.1263
ngc7538.8031
ngc7538.8032
ngc7538.8033
ngc7538.8034
ngc7538.8035
ngc7538.8036
ngc7538.8037
storesum

#767 cm-1
############################################
#767.0300,3
############################################

ffttort=true

objtype=target
hrr=9.955
wno0=767.4429
ngc7538.8038
#increased nod size a bit
sumspec=ngc7538.767
ngc7538.8039
ngc7538.8040
ngc7538.8041
ngc7538.8042
ngc7538.8043
storesum


#778 cm-1
############################################
#777.3748,4
############################################

objtype=target
wno0=777.9677
hrr=10.034
sumspec=ngc7538.777
ngc7538.8044
ngc7538.8045
ngc7538.8046
ngc7538.8047
ngc7538.8048
skip = 20 22
ngc7538.8049
storesum

ffttort=false

##############
PI = Harper
PID = 2021B016
##############


shift=true
weight=true
subsky = true

##########################################################################
######hi-med
######557 cm-1
####The right hand line in order 4 is CO2 and the wavenumber below
####is the correct one accounting for shifting due to being atop 
####of Mauna Kea.
######557.715106,3
###############################################################################

objtype=target
wno0=557.006
hrr=9.720
sumspec=v648cas.557
v648cas.8050
v648cas.8051
v648cas.8052
v648cas.8053
v648cas.8054
v648cas.8055
v648cas.8056
v648cas.8057
v648cas.8058
v648cas.8059
v648cas.8060
v648cas.8061
v648cas.8062
storesum

objtype=calibration
cer.8063

objtype=target
sumspec=wper.557
wper.8064
wper.8065
wper.8066
wper.8067
wper.8068
wper.8069
wper.8070
wper.8071
storesum

kbd
end









