==========================================================
 Pupil stop positioning repeatibility 
 ==Forward movement==
 
 27-March-2003
 Test performed and analyzed by Almudena Zurita
 ==========================================================

 The test consisted on giving a full revolution to 
 the pupil stop wheel in the forward direction,
 but analyzing each segment of the wheel individually.
 The sequence of movements was (F=forward, B=backward):
   
   FBF    FBF  FBF ....
   | |    | | 
  pstop1 pstop2
 
 The pupil imager was in all the time.
 An image was taken at each position of the 
 wheel (after foreward or backward movements).
 The script used is attached at the end of this file. 

 The table below contains the run number and the position of
 the center of the stops on the detector.
 As we can see there is evidence of drift, and the difference in position 
 between the forst image taken with the cass-s in the beam and the
 last one is ~20 pixels.

-------------------------------
  Image   pstop     x     y     
                  (pix) (pix)
-------------------------------
r585982  cass-s    641   499 r=125
r585983  cass-j    635   499     
r585984  cass-s    644   499

r585985  cass-j    635   499    
r585986  cass-h    641   499
r585987  cass-j    638   499

r585988  cass-h    641   498
r585989  cass-k    646   493
r585990  cass-h    644   493

r585991  cass-k    646   493
r585992  naomi-clr 588   490 r=95
r585993  cass-k    644   493

r585994  naomi-clr 584   487
r585995  naomi-obs 581   487
r585996  naomi-clr 584   487

r585997  naomi-obs 582   487
r585998  kel       
r585999  naomi-obs 582   487

r586000  kel    no diff between r586000 & r586002
r586001  clear
r586002  kel

r586003  clear
r586004  ker
r586005  clear

r586006  ker      r586006 & r586008 look quite similar
r586007  osca-clr 580   487 r=89 
r586008  ker

r586009  osca-clr 578  487
r586010  osca-obs 573  488  r=89
r586011  osca-clr 574  487

r586012  osca-clr 574  487
r586013  osca-obs 571  488
r586014  osca-clr 574  487

r586015  osca-obs 572  489
r586016  cass-s   622  495
r586017  osca-obs 572  488

r586018  cass-s   622  494       UTSTART=18:17:40.809
r586019  cass-j   bias frame! ?? UTSTART=18:18:12.751 maybe lights off
r586020  cass-s   bias frame! ?? UTSTART=18:18:47.811 maybe lights off

#################################Script used to check repeatability of the pupil stop wheel
#!/usr/bin/csh -f -x
#
#script to check repeatibility of pupil stop wheel
#
# 2003/03/27


#Pupil wheel initialized before running the script

#segment 1

pstop ingrid cass-s
run ingrid 2 "cass-s"
sleep 10
pstop ingrid cass-j
run ingrid 2 "cass-j"
sleep 10
pstop ingrid cass-s
run ingrid 2 "cass-s"
sleep 10

#segment 2

pstop ingrid cass-j
run ingrid 2 "cass-j"
sleep 10
pstop ingrid cass-h
run ingrid 2 "cass-h"
sleep 10
pstop ingrid cass-j
run ingrid 2 "cass-j"
sleep 10

#segment 3

pstop ingrid cass-h
run ingrid 2 "cass-h"
sleep 10
pstop ingrid cass-k
run ingrid 2 "cass-k"
sleep 10
pstop ingrid cass-h
run ingrid 2 "cass-h"
sleep 10

#segment 4

pstop ingrid cass-k
run ingrid 2 "cass-k"
sleep 10
pstop ingrid naomi-clr
run ingrid 2 "naomi-clr"
sleep 10
pstop ingrid cass-k
run ingrid 2 "cass-k"
sleep 10


#segment 5

pstop ingrid naomi-clr
run ingrid 2 "naomi-clr"
sleep 10
pstop ingrid naomi-obs
run ingrid 2 "naomi-obs"
sleep 10
pstop ingrid naomi-clr
run ingrid 2 "naomi-clr"
sleep 10

#segment 6

pstop ingrid naomi-obs
run ingrid 2 "naomi-obs"
sleep 10
pstop ingrid kel
run ingrid 2 "kel"
sleep 10
pstop ingrid naomi-obs
run ingrid 2 "naomi-obs"
sleep 10

#segment 8

pstop ingrid kel
run ingrid 2 "kel"
sleep 10
pstop ingrid clear
run ingrid 2 "clear"
sleep 10
pstop ingrid kel
run ingrid 2 "kel"
sleep 10

#segment 9

pstop ingrid clear
run ingrid 2 "clear"
sleep 10
pstop ingrid ker
run ingrid 2 "ker"
sleep 10
pstop ingrid clear
run ingrid 2 "clear"
sleep 10


#segment 10

pstop ingrid ker
run ingrid 2 "ker"
sleep 10
pstop ingrid osca-clr
run ingrid 2 "osca-clr"
sleep 10
pstop ingrid ker
run ingrid 2 "ker"
sleep 10

#segment 11

pstop ingrid osca-clr
run ingrid 2 "osca-clr"
sleep 10
pstop ingrid osca-obs
run ingrid 2 "osca-obs"
sleep 10
pstop ingrid osca-clr
run ingrid 2 "osca-clr"
sleep 10

#segment 11

pstop ingrid osca-clr
run ingrid 2 "osca-clr"
sleep 10
pstop ingrid osca-obs
run ingrid 2 "osca-obs"
sleep 10
pstop ingrid osca-clr
run ingrid 2 "osca-clr"
sleep 10

#segment 12

pstop ingrid osca-obs
run ingrid 2 "osca-obs"
sleep 10
pstop ingrid cass-s
run ingrid 2 "cass-s"
sleep 10
pstop ingrid osca-obs
run ingrid 2 "osca-obs"
sleep 10

#segment 1 gain

pstop ingrid cass-s
run ingrid 2 "cass-s"
sleep 10
pstop ingrid cass-j
run ingrid 2 "cass-j"
sleep 10
pstop ingrid cass-s
run ingrid 2 "cass-s"
sleep 10


exit
=========================================================