IMP-8 Data Base Generator Program

User's Guide



1. GENERAL DESCRIPTION

   The IMP-8 Data Base Generator creates Counts and PHA files for the cosmic
   ray experiement (experiment number 52) on board the IMP-8 spacecraft.
   Encyclopedia files, Count files, PHA files, a parameter card, and a file
   catalog are the input to the program. Counts files, PHA files and an
   updated file catalog are the output.

   If PHA files are being generated, a pha data summary is printed every 45 
   albums. This summary consists of the time and s/c clock at the start of
   the last album, the number of pha readouts padded (PAD), the number of MED
   events with D or E amplitude of zero (DE=0), the number of MED -F events
   with F amplitude greated than zero (NF>0), the number of MED F events
   with amplitude of zero (F=0), the number of LED events with an A amplitude
   of zero (A=0), the number of LED events with DS bits L1 and R equal (L1=R),
   and the average number of counts per readout for the following rates :

         A1.-B.-C          (LED1),       (A&B)1.-B.-C          (LED2),
         A1.B.-C           (LED3),       (A&B)1.B.-C           (LED4),
         D1.E1.F.G         (MED1),       D1.E1.-F.-G           (MED2),
         D1.E1.F.-G        (MED3), and   (D&E)2.E1.-F.-G       (MED4)
   
   If Counts files are being generated, a VIET PHA event summary is printed
   showing the number of readouts padded and the number of readouts vs event
   type. Also, a listing is printed of all LED sectored rate readouts that
   are negative after correction followed by a summary of the correction 
   results.

   At the end of each run a trend check summary is printed of the number of
   readouts processed, accepted, undetermined, and rejected verse rate index.
   The rate name for each rate index is given in the following table:

   RATE INDICES FOR DATA BASE GENERATOR TREND CHECK SUMMARY

	RATE INDEX		   RATE

	    1 	                DI.E.-F.-G
            2                   DI.E.F.-G
            3                   DI.-D2.E.-F.-G
            4                   DI.-(DI&EI)1.E.-F.-G
            5                   ID1
            6                   ID2
            7                   DI.(DII&EII)R.E.-F.-G
            8                   DI.E.F
            9                   DI.(DI&EI)2.-(DII&EII)R.E.F.-G
           10                   DI.(DII&EII)R.E.F.-G
           11                   DI
           12                   E
           13                   F
           14                   G
           15                   DI.(DI&EI)1.E.-F.-G
           16                   (DI&EI)2.E.-F.-G
           17                   (A&B)1.B.-C
           18                   A.B.-C
           19                   A1
           20                   (A&B)1.-B.-C
           21                   B
           22                   (A&B)2.A.B.-C
           23                   (A&B)2.A.-B.-C
           24                   A1.B
           25                   A1.-B.-C
           26                   C
           27                   DI4
           28                   DI3
           29                   DI2
           30                   DI1
           31                   F
           32                   E
           33                   DII
           34                   DI
           35                   Di.DII.SUM1(D).-F
           36                   Di.DII.SUM2(D).-F
           37                   DI.E.F.-G              ---
           38                   DI.-D2.E.-F.-G           |  MED sectored rate
           39                   (DI&EI)1.E.-F.-G         |
           40                   DI.(DI&EI)1.E.-F.-G    ---
           41                   A1.-B.-C               ---
           42                   DI.DII.-F                |  LED/VLED sectored
           43                   DI.DII.SUM1(D).-F        |           rate
           44                   A1.B.-C                ---


   At the end of     . a trend check summary is printed of the number of
   Processing is done on a 4-day interval basis, with interval 1 beginning on
   Sept. 23, 1972 at 0000 hours (same as IMP-H).  Since IMP-J was launched on
   Oct. 25, 1973; the first interval containing data is 101.

   The parameter card specifies which interval number is to be processed.
   Processing may also be done on a time basis, however time periods may not
   span Encyclopedia tapes.  Processing ends when stop time is found or when
   the end of the input encyclopedia file is encountered, whichever occurs
   first.


2. INPUT PARAMETER CARDS

       Name	Column	Format	Description

       ISPEC	   1	  I1	Histograrn Option:


       IORBIT	  1-5	  I5	Interval number of data to be
				processed (if zero, start and
				stop times must be specified).

       IPHASW	  10	  I1	PHA file switch

				0 - do not process
				1 - process

       ICNTSW	  11	  I1    Counts file switch

				0 - do not process
				1 - process


                        Use the following only if IORBIT = 0

       IYRI	 21-24	  I4	Starting year

       IDAY1	 26-28	  I3	Starting day of year

       IHR1	 30-31	  I2	Starting hour

       IMIN1	 33-34	  I2	Starting minute

       IYR2	 41-44	  I4	Stopping year

       IDAY2	 46-48	  I3	Stopping day of year

       IHR2	 50-51	  I2	Stopping hour

       IMIN2	 53-54	  I2	Stopping minute