IMP-8 Summary File Format



IMP-8 summary file contains data from one 4-day interval and consists of
a header record followed by two or more data recordal, with th last record
indicated by a negative interval number. All records are fixed length
(1820 words).

The first record (Header record) of the file contains the start and stop
times, rates, and other general information pertaining to the time
interval associated with the data summarized in the file.

The data records follow and contain the data point summaries,(i.e. the
pulse height channel numbers of PHA events measured by either the LED or
MED detectors and the number of identical events per priority mode that
were recorded within the time interval specified in the header record).
Each record contains one type of summary, either LED or MED data points. 
Summary entries are grouped by event type, with the entries for each event
type sorted in order of decreasing channel number.


The first entries are LED events in the order given in the table following
data Record Formats. The last LED summary entry is followed by an entry of
the data record formats. The last LED summary entry is followed by an
entry of zeros. The following record begins the summary for the MED PHA
data points. Summary entries will begin with D1.E1.-F.-G events (in order
of decreasing channel number) followed by (D&E)2.E1.-F.-G, D1.E1.F.-G,
(D&E)1.E1.-F.-G, and D1.E1.F.G events. The last MED entry is also followed
by an entry of zeros.



Header Record Format

WORD	CONTENT

1	Number of 4-day Interval
2	Halfword I - Year
	Halfword 2 - Day of Year   start time of summary period
3	Milliseconds of Day
4	Halfword 1 - Year
	Halfword 2 - Day Of Year   stop time of summary period
5	Milliseconds of Day
6	Halfword 1 - Perigee Count at Start of Summary Period
	Halfword 2 - Perigee Count at End of Summary Period
7-9	Spare
10	Number of LED Data Records in this file
11-19	Sum (Real) of all counts data (satisfying trend check)
	for events
        Al,B,C, Al.-B.-C, (A&B)l.-B.-C, (A&B)2.-B.-C, Al.B.-C,
        (A&B)l.B.-C, and (A&B)2.B.-C, Respectively.
20-28	Number of counts data readouts used in the sum for each
        LED event above, respectively (Base 1600 BPS)
29-37	Number of readouts failing the trend check for each LED 
        event above, respectively.
38	Total number of LED data points accepted during this
        summary period (Base 1600 BPS).
39	Number of MED data records in this file
40-48	Sum (Real) of all counts data (satisfying trend check)
        for events
        Dl, E, F, G, Dl.El.F, Dl.El.-F.-G, Dl.El.F.-G,
        (Dl&El)l.El.-F.-G, and (DI&El)2.El.-F.-G, respectively.
49-57	Number of counts data readouts used in the sum for each
        MED event above, respectively. (Base 1600 BPS)
58-66	Number of readouts failing the trend check for each
        MED event above, respectively.
67	Total number of MED data points accepted during this
        summary period. (Base 1600 BPS)
68-69	Number of LED low gain events detected during this
        summary period for event.
        (A&B)l.-B.-C and (A&B)l.B.-C, respectively
70-72	Number of MED low gain events detected during this summary
        period for event D.E.F.G, D.E.F.-G,
        and (D&E)2.E.-F.-G, respectivelv.
73	Number of LED A.B.-C events with T2,T3 = 0,0
74	Number of A.B.-C events with T2,T3 = 0,1
75	Number of A.B.C event with T2,T3 = 1,0
76	Number of (A&B)2.A.B.-C	events with T2,T3 = 0,0 and
		(A&B)2.A.B.-C rate used
77	Number of (A&B)2.A.B.-C events with T2,T3 = O,l and 
           (A&B)2.A.B.-C rate used.
78	Number of (A&B)2.A.B.-C events with T2,T3 = 0,0 and A.B.-C rate used.
79	Number of (A&B)2.A.B.-C events with T2,T3 = 0,l and A.B.-C rate used.
80	Number of (A&B)2.A.B.-C events with T2,T3 = 1,0
           (neither A.B.-C nor (A&B)2.A.B.-C rate available).
81-90	Spare
91-104	Number of occurrences of A1 rate readout vs. readout values:

         91:	Number of readouts in range	0-2
         92:      "     "    "      "   "       3-4
         93:      "     "    "      "   "       5-8
         94:      "     "    "      "   "       9-16
         95:      "     "    "      "   "      17-32
         96:      "     "    "      "   "      33-64
         97:      "     "    "      "   "      65-128
         98:      "     "    "      "   "     129-256
         99:      "     "    "      "   "     257-512
        100:      "     "    "      "   "     513-1024
        101:      "     "    "      "   "    1025-2048
        102:      "     "    "      "   "    2049-4096
        103:      "     "    "      "   "    4097-8192
        104:      "     "    "      "   "    > 8192   

        (For each album, the total counts T is divided by the
	 number of readouts N and used as N readouts of T/N counts).
105-118	Same as	91-104  for B rate.
119-132	Same as 91-104	for C rate.
133-146	Same as 91-104	for A1.-B.-C  rate
147-160	Same as	91-104	for (A&B)1.-B.-C rate
161-174	Same as	91-104	for (A&B)2.-B.-C rate
175-188	Same as	91-104	for A1.B.-C rate
189-202	Same as	91-104	for (A&B)1.B.-C rate
203-216	Same as	91-104	for (A&B)2.B.-C rate
217-230	Same as	91-104	for DI rate
231-244	Same as	91-104	for E rate
245-258	Same as	91-104	for F rate
259-272	Same as	91-104	for G rate
273-286	Same as	91-104	for DI.EI.F rate
287-300	Same as	91-104	for DI.EI.-F.-G rate
301-314 Same as	91-104	for DI.EI.F.-G rate
315-328	Same as	91-104	for (DI&EI)1.-F.-G rate
329-342	Same as	91-104	for (DI&EI)2.-F.-G rate



LED Data Record Format

     5 Halfwords/Entry x 728 entries = 1820 words

HALFWORD                          CONTENT

1               Bits 2-5, Event-type T1,T2,T3,T4, where
	           T1 = 0 for A.B.-C or A.-B.-C event
		      = 1 for (A&B)2.A.B.-C or (A&B)2.A.-B.-C event
	           T2 =	1 if the event rate was not available
                   T3 = 0 if T2 = 0 and the rate was >0
	              =	1 if    "    "   "   "       =0
	           T4 =	0 if L1 .ne. R
		      = 1 if L1 = R
                Bits 6-15, A detector amplitude
2	        B detector amplitude
3	        Frequency during priority Mode 3
4	            "       "        "      "  2
5	            "       "        "      "  1



MED Data Record Format

     7 Halfwords/Entry x 520 entries = 1820 words

HALEWORD	                CONTENT

1	Bits 3-5, Event type T1 T2 T3, where

	T1 T2 T3 = 101	D1.E1.-F.-G      Event 5
	         = Oll	(D&E)2.EI.-F.-G  Event 4
	         = 010	D1.E1.F.-G       Event 3
	         = 001	(D&E)1.EI.-F.-G  Event 2
                 = 000  D1.E1.F.G        Event 1
        Bits 6-15, D Detector amplitude
2      	E detector amplitude
3      	F detector amplitude
4      	Frequency during priority Mode 4
5            "       "        "      " 3
6            "       "        "      " 2
7            "       "        "      " 1



The ordering of the LED events will be as follows:

T1 T2 T3 T4

1101	       (A&B)2.A.B.-C events for which no rare was available
	         and  L1 = R.
1100	       (A&B)2.A.B.-C events for which no rate was available
	         and LI .ne. R.
1011	       (A&B)2.A.B.-C events for which rate = 0 and L1 = R
1010	       (A&B)2.A.B.C events for	which rate = 0 and LI .ne. R
1001	       (A&B)2.A.B.C events for	which rate > 0 and LI = R
	       (A&B)2.A.B.C events for which LI = R
1000	       (A&B)2.A.B.-E events for which  rate > 0 and LI
	       (A&B)2.A.B.C events for which LI i R
0101	       A.B.C events for which no rate was available and LI = R
0100	       A.B.C events for which no rate was availalbe and LI .ne. R
0011	       A.B.-C events for which rate = 0 and LI = R
0010	       A.B.-C events for which rate = 0 and LI .ne. R
0001	       A.B.-C events for which rate > 0 and LI = R
               A.-B.-C events  for which LI = R
0000	       A.B.-C events for which rate > 0 and L1 .ne. R
               A.-B.-C events for which L1 .ne. R