-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec  7 08:53:58 2021 UTC
-- File 20210804_223327_1229.dat, 16116  packets found.
APID:
      1229 (EW) in 16116 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 16116 packets (all packets)
Total number of packets: 
      16116 in 16116 packets (all packets)
Packet No from 1 to 16116
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 319.393584 to 319.459476
-each separately from 319s to 319s and from 393584us to 459476us.
   Differences in neigboring packets: 
      0.000000 in 16114 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0.065892 in 1 packets: 3876
MIU packet time from 2021-08-04T22:38:49.393.584.000 to 2021-08-04T22:38:49.459.476.000
   Differences in neigboring packets: 
      0.000000 in 16114 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0.065892 in 1 packets: 3876
MIU orbit number: 
      60000 in 16116 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 16116 packets (all packets)
MIU orbit information / number of events: 
      0 in 16116 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 16116 packets (all packets)
Instrument anomalies: 
      0 (OK) in 16116 packets (all packets)
FPGA configuration version: 
      211 in 16116 packets (all packets)
10 MHz counter at the last 1Hz pulse from 320.5817790 to 320.5817790
   Differences in neigboring packets: 
      0.0000000 in 16115 packets (all packets)
Temperature FPGA: 
      04 -> 49.8 degC in 16116 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 16116 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 16116 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 16116 packets (all packets)
Number of external events: 
      1 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 12240 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
Number of generated alerts: 
      1 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 12240 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
Survey memory error: 
      0 in 16116 packets (all packets)
Event memory error: 
      0 in 16116 packets (all packets)
Configuration error: 
      0 in 16116 packets (all packets)
SDRAM CRC error: 
      0 in 16116 packets (all packets)
Radio gain: 
      0 in 16116 packets (all packets)
Radio bandwidth: 
      0 in 16116 packets (all packets)
Digital gain: 
      0 in 16116 packets (all packets)
Analog gain: 
      0 in 16116 packets (all packets)

EVENT DATA READER
-- File 20210804_223327_1229.dat, 79 EW pages found. Extra packets: 0.
   Design version: 211 => Data interpreted as:   Pre-final (EM4-FM1) data structure with variable 32bit C10MHz in the event data descriptor
--
Data structure of all event data packets in the sequence read from file:
   Event numbers from 1 to 2
      1 in 3876 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 12240 packets: 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 320.9198758 to 321.1938308
      Difference between the neighboring packets: 
      0.0000170 in 16115 packets (all packets)
   Memory page number from 112 to 190
      Difference between the neighboring packets: 
      0 in 16037 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 78 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
   Event page number from 1 to 60
      Difference between the neighboring packets: 
      0 in 16037 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 77 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, ...
      -18 in 1 packets: 3876
   MIU event flag 
      1 in 16116 packets (all packets)
   Time triggered event flag 
      0 in 16116 packets (all packets)
   Absolute time of the 1st EW sample = header abs. time + offset - one page (3.468 ms) - 175 ns delay
   Min EW event (1st sample) abs. time found among all events: 2021-08-04T22:38:49.338.095.642
   Min EW header abs. time found among all events            : 2021-08-04T22:38:49.393.584.000
   Max EW event (1st sample) abs. time found among all events: 2021-08-04T22:38:49.403.987.642
   Max EW header abs. time found among all events            : 2021-08-04T22:38:49.459.476.000
   TM values from -1348 to 482 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 3876
    Page no. 1:  204 packets  -- OK;  memory page(s):
      112 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      113 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      114 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      115 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      116 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      117 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      118 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      119 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      120 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      121 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      122 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      123 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      124 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      125 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      126 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      127 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      128 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      129 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      130 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 19  ordered packets: 3876
   TM values from -305 to 482 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=319 C1MHz=0.393584
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 3875 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 320.9198758
   Event type -- OK -- (constant for all packets of this event): External
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2021-08-04T22:38:49.393.584.000
   Event 1st sample abs. time : 2021-08-04T22:38:49.338.095.642)
   --- Rel. time correction for 1 points based on 989 XO calibration points at 1Hz counter from 0 to 988
   --- First point: 1Hz counter = 319, 32bit 10MHz counter = 320.919875800 corrected by 40bit 10MHz counter of 320.581779000 obtained at 1Hz counter of 319. Result: 319.338097916
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             319.338097741
   Event data descriptor XO time (reconstructed seconds from XP start)    :             319.338097916
   Sampling frequency correction factor for this event:     0.999996700

 Event no. 2 total number of packets: 12240
    Page no. 1:  204 packets  -- OK;  memory page(s):
      131 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      132 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      133 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      134 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      135 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      136 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      137 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      138 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      139 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      140 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      141 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      142 in 204 packets (all packets)  --OK-- 
    Page no. 13:  204 packets  -- OK;  memory page(s):
      143 in 204 packets (all packets)  --OK-- 
    Page no. 14:  204 packets  -- OK;  memory page(s):
      144 in 204 packets (all packets)  --OK-- 
    Page no. 15:  204 packets  -- OK;  memory page(s):
      145 in 204 packets (all packets)  --OK-- 
    Page no. 16:  204 packets  -- OK;  memory page(s):
      146 in 204 packets (all packets)  --OK-- 
    Page no. 17:  204 packets  -- OK;  memory page(s):
      147 in 204 packets (all packets)  --OK-- 
    Page no. 18:  204 packets  -- OK;  memory page(s):
      148 in 204 packets (all packets)  --OK-- 
    Page no. 19:  204 packets  -- OK;  memory page(s):
      149 in 204 packets (all packets)  --OK-- 
    Page no. 20:  204 packets  -- OK;  memory page(s):
      150 in 204 packets (all packets)  --OK-- 
    Page no. 21:  204 packets  -- OK;  memory page(s):
      151 in 204 packets (all packets)  --OK-- 
    Page no. 22:  204 packets  -- OK;  memory page(s):
      152 in 204 packets (all packets)  --OK-- 
    Page no. 23:  204 packets  -- OK;  memory page(s):
      153 in 204 packets (all packets)  --OK-- 
    Page no. 24:  204 packets  -- OK;  memory page(s):
      154 in 204 packets (all packets)  --OK-- 
    Page no. 25:  204 packets  -- OK;  memory page(s):
      155 in 204 packets (all packets)  --OK-- 
    Page no. 26:  204 packets  -- OK;  memory page(s):
      156 in 204 packets (all packets)  --OK-- 
    Page no. 27:  204 packets  -- OK;  memory page(s):
      157 in 204 packets (all packets)  --OK-- 
    Page no. 28:  204 packets  -- OK;  memory page(s):
      158 in 204 packets (all packets)  --OK-- 
    Page no. 29:  204 packets  -- OK;  memory page(s):
      159 in 204 packets (all packets)  --OK-- 
    Page no. 30:  204 packets  -- OK;  memory page(s):
      160 in 204 packets (all packets)  --OK-- 
    Page no. 31:  204 packets  -- OK;  memory page(s):
      161 in 204 packets (all packets)  --OK-- 
    Page no. 32:  204 packets  -- OK;  memory page(s):
      162 in 204 packets (all packets)  --OK-- 
    Page no. 33:  204 packets  -- OK;  memory page(s):
      163 in 204 packets (all packets)  --OK-- 
    Page no. 34:  204 packets  -- OK;  memory page(s):
      164 in 204 packets (all packets)  --OK-- 
    Page no. 35:  204 packets  -- OK;  memory page(s):
      165 in 204 packets (all packets)  --OK-- 
    Page no. 36:  204 packets  -- OK;  memory page(s):
      166 in 204 packets (all packets)  --OK-- 
    Page no. 37:  204 packets  -- OK;  memory page(s):
      167 in 204 packets (all packets)  --OK-- 
    Page no. 38:  204 packets  -- OK;  memory page(s):
      168 in 204 packets (all packets)  --OK-- 
    Page no. 39:  204 packets  -- OK;  memory page(s):
      169 in 204 packets (all packets)  --OK-- 
    Page no. 40:  204 packets  -- OK;  memory page(s):
      170 in 204 packets (all packets)  --OK-- 
    Page no. 41:  204 packets  -- OK;  memory page(s):
      171 in 204 packets (all packets)  --OK-- 
    Page no. 42:  204 packets  -- OK;  memory page(s):
      172 in 204 packets (all packets)  --OK-- 
    Page no. 43:  204 packets  -- OK;  memory page(s):
      173 in 204 packets (all packets)  --OK-- 
    Page no. 44:  204 packets  -- OK;  memory page(s):
      174 in 204 packets (all packets)  --OK-- 
    Page no. 45:  204 packets  -- OK;  memory page(s):
      175 in 204 packets (all packets)  --OK-- 
    Page no. 46:  204 packets  -- OK;  memory page(s):
      176 in 204 packets (all packets)  --OK-- 
    Page no. 47:  204 packets  -- OK;  memory page(s):
      177 in 204 packets (all packets)  --OK-- 
    Page no. 48:  204 packets  -- OK;  memory page(s):
      178 in 204 packets (all packets)  --OK-- 
    Page no. 49:  204 packets  -- OK;  memory page(s):
      179 in 204 packets (all packets)  --OK-- 
    Page no. 50:  204 packets  -- OK;  memory page(s):
      180 in 204 packets (all packets)  --OK-- 
    Page no. 51:  204 packets  -- OK;  memory page(s):
      181 in 204 packets (all packets)  --OK-- 
    Page no. 52:  204 packets  -- OK;  memory page(s):
      182 in 204 packets (all packets)  --OK-- 
    Page no. 53:  204 packets  -- OK;  memory page(s):
      183 in 204 packets (all packets)  --OK-- 
    Page no. 54:  204 packets  -- OK;  memory page(s):
      184 in 204 packets (all packets)  --OK-- 
    Page no. 55:  204 packets  -- OK;  memory page(s):
      185 in 204 packets (all packets)  --OK-- 
    Page no. 56:  204 packets  -- OK;  memory page(s):
      186 in 204 packets (all packets)  --OK-- 
    Page no. 57:  204 packets  -- OK;  memory page(s):
      187 in 204 packets (all packets)  --OK-- 
    Page no. 58:  204 packets  -- OK;  memory page(s):
      188 in 204 packets (all packets)  --OK-- 
    Page no. 59:  204 packets  -- OK;  memory page(s):
      189 in 204 packets (all packets)  --OK-- 
    Page no. 60:  204 packets  -- OK;  memory page(s):
      190 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 60  ordered packets: 12240
   TM values from -1348 to 407 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=319 C1MHz=0.459476
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 12239 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 320.9857678
   Event type -- OK -- (constant for all packets of this event): External
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2021-08-04T22:38:49.459.476.000
   Event 1st sample abs. time : 2021-08-04T22:38:49.403.987.642)
   --- Rel. time correction for 1 points based on 989 XO calibration points at 1Hz counter from 0 to 988
   --- First point: 1Hz counter = 319, 32bit 10MHz counter = 320.985767800 corrected by 40bit 10MHz counter of 320.581779000 obtained at 1Hz counter of 319. Result: 319.403990133
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             319.403989958
   Event data descriptor XO time (reconstructed seconds from XP start)    :             319.403990133
   Sampling frequency correction factor for this event:     0.999996700
--
Extremes in separate events:

 - Event number: 1 from 2021-08-04T22:38:49.338.095.642 to 2021-08-04T22:38:49.403.987.859 (XO: 319.338097741 - 319.403989958)
   Min TM value:-305 at an offset of 57034.901 usec -> 2021-08-04T22:38:49.395.130.542 (XO: 319.395132641)
   Max TM value:482 at an offset of 53918.965 usec -> 2021-08-04T22:38:49.392.014.607 (XO: 319.392016706)
   Max dTM/dt [1/us]:4.02e+03 at an offset of 53918.915 usec -> 2021-08-04T22:38:49.392.014.557 (XO: 319.392016656)
   Min dTM/dt [1/us]:-4.04e+03 at an offset of 56795.262 usec -> 2021-08-04T22:38:49.394.890.904 (XO: 319.394893003)
   Med: -4.00000   Ave: -4.3558010   Std: 10.393512

 - Event number: 2 from 2021-08-04T22:38:49.403.987.642 to 2021-08-04T22:38:49.612.068.328 (XO: 319.403989958 - 319.612070645)
   Min TM value:-1348 at an offset of 54686.543 usec -> 2021-08-04T22:38:49.458.674.184 (XO: 319.458676501)
   Max TM value:407 at an offset of 54686.943 usec -> 2021-08-04T22:38:49.458.674.584 (XO: 319.458676901)
   Max dTM/dt [1/us]:7.43e+03 at an offset of 54686.593 usec -> 2021-08-04T22:38:49.458.674.234 (XO: 319.458676551)
   Min dTM/dt [1/us]:-8.14e+03 at an offset of 54686.480 usec -> 2021-08-04T22:38:49.458.674.122 (XO: 319.458676439)
   Med: -4.00000   Ave: -4.3409869   Std: 9.2264888
