#pipescript for sep12/39

date=12.1009
fitsdir=archive
slitpa = 180.

########################
PI=Engineering
PID=2012B999
########################

objtype=target

### go Alpha Aquilae (Altair)
### feature is NH3, at 1103.67 cm^-1

shift = true
weight = true
subsky = true

#setwno #using 1103.1946 line in order 4
wno=1103.852
hrr = 9.915
skip = 1 4 # peaking up on it
aaql.1500

#setwno #using 1103.1946 line in order 4
wno=1103.852
hrr = 9.915
###offset guiding
sumspec= irs1.1103
irs1.1501
irs1.1502
irs1.1503
skip = 3 ###Large grating bounce
irs1.1504
skip = 12 13 ###Huge DC jump
irs1.1505
skip = 1 5 ###Guiding and Peaking
irs1.1506
storesum


#setwno ###using 1103.1946 cm-1 line in order 4
sumspec = pal.1103
wno = 1103.849
hrr = 9.918
pal.1507
pal.1508
### Drifting up on slit, move north 0.6" in pair 4
pal.1509
storesum

#setwno
wno = 1103.855
hrr = 9.912
sumspec=irs1.1103a
irs1.1510
irs1.1511
irs1.1512
irs1.1513
irs1.1514
irs1.1515
## on 1516, Pair 9 has large grating bounce
### Looks like second derivative
### Bounce calms down by pair 13, comes back for 15 and 16
bounce = -0.1
irs1.1516
bounce = 0
storesum

### Moved 4.2" W and 3.5" N from coordinates

setwno #using 1103.1946 cm-1 in order 3
wno = 1104.5154
hrr = 9.914
sumspec=pal.1103a
pal.1517
## Drifting along slit
pal.1518
storesum

######## Changing observations to Jupiter

#####################
PI=Greathouse
PID=2012B068
#####################

objtype=calibration

longslit
#slitrot=-0.07
#setwno #using 587.8184
wno = 586.995
cal.1519

### move 1" N after scan 1
### move 3" W, 0.5" S after scan 2
### move 2" W 0.5" S after scan 3

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

objtype=target

### moving 1521 with accompanying notes in front of 1520 for better pipe results
### still drifting west 4"W between scans 1 and 2, 0.5"S between 2 and 3
jup.1521
bounce=0.2
### Gain was too high for 1520, redo scan
### added 0.005"/s W rate
flatmode = old
jup.1520

### Offset -26E 11N
### Moved 2" E between scans 2 & 3
### Stopped after 3 scans, forgot to focus at 1247cm-1
crossdisp
#setwno #using 1246.7460 in order 4
wno = 1247.550
hrr = 9.911
jup.1522

### going to callisto for focusing, changed boresite
### Redoing scan #1, offset -26E 11N
### Nice placement scans 1 & 2, move 1.5"E for scans 3&4, another 1.5"E after 4
jup.1523

###Offset -26E 6.5N
jup.1524

###Scan 1 still at -26E 6.5N, move 4.5"S before scan 2
jup.1525

jup.1526

jup.1527
jup.1528

longslit
#setwno #using 587.8184
wno = 586.928
### change to med mode 587
jup.1529

###cross-dispersed, back to 1247.5
crossdisp
#setwno #using 1246.746 in order 4
wno= 1247.549
hrr=9.910
### Offset -26E 11N
jup.1530
### Moved 1.5" W between 2&3 scans
### Offset -26E 6.5N
jup.1531
### Offset -26E 2N
jup.1532
### Offset -26E 2N
### Maybe a little south of equator, repointed at jupiter
### on 1533 Before scan 3, moved 3"E, before 1533 transitted
jup.1533
jup.1534
### 1.5"E after scan
### Offset -26E -11N
### 1"E after scan 1, 1"E after scan 3
### starting to see grating drift on atmospheric lines
bounce=-0.2
jup.1535
### second derivative
### Offset -26E +11N
### Moved 1.5"E after scan 1, another 1.5"E after scan 2
jup.1536
### Offset -26E +6.5"N
### Some grating bounce
jup.1537
### 587 longslit mode
bounce=0.2
longslit
#setwno #using 587.8184
wno=587.183
jup.1538

######################
PI=Engineering
PID=2012B999
######################

objtype=target

############## Orion Shock
### 814 cm-1
### Steps -0.7E 0N; Offsets 0E 30N; 80 points
#setwno #using 812.4844
### saw BN around frame 17
wno= 814.344
#pk1.1539
###	BN came on around frame 23 in 1540
pk1.1540
###	BN came on around frame 29 in scan 1 of 1541
###		move 3" E before scan 2
###	BN came on around frame 32 in scan 2
###		move 6" W and 2" N before scan 3
###	BN came on around frame 24 in scan 3 and 4
pk1.1541
pk1.1542
###	Quit 1543 after 3 scans to close up
skip = 4
pk1.1543


end
