Within this directory are the following files and directories:
decompresshetsitcounters.pro
runsit.bat
runsit.ksh*
sit_common.pro
sit_rates.pro
sit_test.pro
solarsoft/
time_conversion.pdf


runsit.ksh is a shell script that sets up the IDL environment, and calls IDL.
Please edit this so that the IDL_PATH environment variable is set correctly
for your location, to point to the local idl libraries, and to the solarsoft directory.


When it is edited, call runsit.ksh with the full path to a SIT Level 0 telemetry file, like this:
	./runsit.ksh /foo/bar/Level0/MissionSim/behind/SIT/sit_behind_2006_305_1_04.ptp

runsit.bat is an IDL batch file, called by runsit.ksh. 

sit_test.pro is the "main" idl program. It reads the telemetry file, picks out SIT rates packets,
and feeds them to sit_rates.pro. It also prints out a subset of the data returned by sit_rates.pro.

sit_rates.pro decompresses the rates, converts scclock ticks to UTC, and returns the results in a 
structure back to sit_test.pro.

decompresshetsitcounters.pro decompresses SIT rates. This routine illustrates the
use of shift and mask operations in IDL, and also the very useful where() function.

solarsoft is a directory containing a subset of the solarsoft library. This needs to be in your IDL_PATH.

time_conversion.pdf is documentation of the conversion of STEREO spacecraft clock ticks
to UTC. 
