=========================================================
Checking Pupil Stops repeatability between positions 
cass-j and cass-k

8-March-2003
Test performed and analyzed by A. Zurita
=======================================================

I run the script copied at the end of
this file, which after datumming the
INGRID filter and pstop wheels, moves
the pstop wheel between the cass-j 
and cass-k positions.
The PI was in the beam during the test.

The table below contains the run number and the position 
of the center of the pupil stop (cass-j or cass-k) on the 
detector for the images taken after each movement.

See the plots showing the drift in pixels of the pupil
stops and the estimated vignetting due to the drift 
(for the measurements of the cass-j (plot1) and the
cass-k (plot2) pupil stops).
There is clear evidence of drift, and after ~20 movements 
the vignetting introduced is ~2%.

----------------------------
Image   pstop      x     y     
                 (pix) (pix)
----------------------------
r579702  cass-s   645   490   (1 mov  after datum) 
r579703  cass-j   640   490   (2 movs after datum) 
r579704  cass-k   653   490   (3 movs after datum) 
r579705  cass-j   640   490   (4 movs after datum) 
r579706  cass-k   649   488             .
r579707  cass-j   640   490             .
r579708  cass-k   648   488             .
r579709  cass-j   637   490             .
r579710  cass-k   645   488             .
r579711  cass-j   636   490             .
r579712  cass-k   643   488
r579713  cass-j   634   490
r579714  cass-k   642   488
r579715  cass-j   630   490
r579716  cass-k   641   488
r579717  cass-j   630   490
r579718  cass-k   638   488
r579719  cass-j   628   490
r579720  cass-k   636   488 
r579721  cass-j   626   490
r579722  cass-k   634   488
r579723  cass-j   625   490
r579724  cass-k   629   488
r579725  cass-j   618   490
r579726  cass-k   627   488
r579727  cass-j   615   490
r579728  cass-k   625   488 
r579729  cass-j   614   490
r579730  cass-k   624   488    
r579731  cass-j   612   490 
r579732  cass-k   623   488 

=======================Script

#!/usr/bin/csh -f -x
#
#script to check repeatibility of pupil stop wheel
#
#
pstop ingrid datum
fwheel1 ingrid datum
fwheel2 ingrid datum

fwheel1 ingrid ks
fwheel2 ingrid clear
pstop ingrid cass-s

@ i = 1
while ($i < 14)
  pstop ingrid  cass-j
  run ingrid 2 "cass-j"
  sleep 50
  pstop ingrid cass-k
  run ingrid 2 "cass-k"
  sleep 50
   
  @ i = $i + 1
=========================================================