Ancilliary data scripts available with Kvis

katCounts

katCounts is a perl routine that averages KAT (star 
tracker) counts from a specified archive file.  It uses 
the gridFiles script (required in path) to combine output from 
extractor.   Only data where both star trackers are locked is
used.

The output consists of averaged data with the columns:
time(secs), source name, intensity (K1), peak intensity (K1), 
intensity (K2), peak intensity (K2).

 Command line options: 
 -help 
 type this message and exit 
 -archive 
 Required unless -noExtract used. Name of archive file  
 (including path if not in working dir) 
 -startTime 
 start time in extractor format ([mm/dd/yyy] hh:mm:ss or sss).  Default 
 is start of file. 
 -length 
 duration from start time in seconds.  Default entire file. 
 -avgTime 
 averaging time in seconds.  Default is 30 secs. 
 -noExtract 
 do not run extractor (extractor output files must already exist) 


FTconvert

FTconvert is a perl script that converts the fringe tracker ZABCD data
from the output telemetry format (RawData channels) to a single line
with time and z,a,b,c,d.  In the RawData channels, the ZABCD telemetry
is sent as a sequence of doubles, each with its own time stamp and
with the Z sample negative for identification.  The output of
FTconvert outputs the time of the Z read and removes the negative.  An
effort is made eliminate samples with missing data, but this will not
be effective in cases where many samples are missing.


usage:  FTconvert filename
  where filename is a RawData telemetry channel file produced by the extractor.




R. Akeson  8/20/02