imap-processing 0.17.0__py3-none-any.whl → 0.18.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of imap-processing might be problematic. Click here for more details.

Files changed (89) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/ccsds/excel_to_xtce.py +12 -0
  3. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +6 -6
  4. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +11 -0
  5. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +11 -0
  6. imap_processing/cdf/config/imap_codice_l2_variable_attrs.yaml +24 -0
  7. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +163 -100
  8. imap_processing/cdf/config/imap_hit_l2_variable_attrs.yaml +4 -4
  9. imap_processing/cdf/config/imap_ialirt_l1_variable_attrs.yaml +97 -54
  10. imap_processing/cdf/config/imap_idex_l2b_variable_attrs.yaml +119 -36
  11. imap_processing/cdf/config/imap_idex_l2c_variable_attrs.yaml +16 -90
  12. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +30 -0
  13. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +15 -1
  14. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +60 -0
  15. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +91 -11
  16. imap_processing/cli.py +28 -5
  17. imap_processing/codice/codice_l1a.py +36 -48
  18. imap_processing/codice/codice_l1b.py +1 -1
  19. imap_processing/codice/codice_l2.py +0 -9
  20. imap_processing/codice/constants.py +481 -498
  21. imap_processing/hit/l0/decom_hit.py +2 -2
  22. imap_processing/hit/l1a/hit_l1a.py +64 -24
  23. imap_processing/hit/l1b/constants.py +5 -0
  24. imap_processing/hit/l1b/hit_l1b.py +18 -16
  25. imap_processing/hit/l2/constants.py +1 -1
  26. imap_processing/hit/l2/hit_l2.py +4 -5
  27. imap_processing/ialirt/constants.py +21 -0
  28. imap_processing/ialirt/generate_coverage.py +188 -0
  29. imap_processing/ialirt/l0/parse_mag.py +62 -5
  30. imap_processing/ialirt/l0/process_swapi.py +1 -1
  31. imap_processing/ialirt/l0/process_swe.py +23 -7
  32. imap_processing/ialirt/utils/constants.py +22 -16
  33. imap_processing/ialirt/utils/create_xarray.py +42 -19
  34. imap_processing/idex/idex_constants.py +1 -5
  35. imap_processing/idex/idex_l2b.py +246 -67
  36. imap_processing/idex/idex_l2c.py +30 -196
  37. imap_processing/lo/l0/lo_apid.py +1 -0
  38. imap_processing/lo/l1a/lo_l1a.py +44 -0
  39. imap_processing/lo/packet_definitions/lo_xtce.xml +5359 -106
  40. imap_processing/mag/constants.py +1 -0
  41. imap_processing/mag/l1d/__init__.py +0 -0
  42. imap_processing/mag/l1d/mag_l1d.py +133 -0
  43. imap_processing/mag/l1d/mag_l1d_data.py +588 -0
  44. imap_processing/mag/l2/__init__.py +0 -0
  45. imap_processing/mag/l2/mag_l2.py +25 -20
  46. imap_processing/mag/l2/mag_l2_data.py +191 -130
  47. imap_processing/quality_flags.py +20 -2
  48. imap_processing/spice/geometry.py +25 -3
  49. imap_processing/spice/pointing_frame.py +1 -1
  50. imap_processing/spice/spin.py +4 -0
  51. imap_processing/spice/time.py +51 -0
  52. imap_processing/swapi/l2/swapi_l2.py +52 -8
  53. imap_processing/swapi/swapi_utils.py +1 -1
  54. imap_processing/swe/l1b/swe_l1b.py +2 -4
  55. imap_processing/ultra/constants.py +49 -1
  56. imap_processing/ultra/l0/decom_tools.py +15 -8
  57. imap_processing/ultra/l0/decom_ultra.py +35 -11
  58. imap_processing/ultra/l0/ultra_utils.py +97 -5
  59. imap_processing/ultra/l1a/ultra_l1a.py +25 -4
  60. imap_processing/ultra/l1b/cullingmask.py +3 -3
  61. imap_processing/ultra/l1b/de.py +53 -15
  62. imap_processing/ultra/l1b/extendedspin.py +26 -2
  63. imap_processing/ultra/l1b/lookup_utils.py +171 -50
  64. imap_processing/ultra/l1b/quality_flag_filters.py +14 -0
  65. imap_processing/ultra/l1b/ultra_l1b_culling.py +198 -5
  66. imap_processing/ultra/l1b/ultra_l1b_extended.py +304 -66
  67. imap_processing/ultra/l1c/helio_pset.py +54 -7
  68. imap_processing/ultra/l1c/spacecraft_pset.py +9 -1
  69. imap_processing/ultra/l1c/ultra_l1c.py +2 -0
  70. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +106 -109
  71. imap_processing/ultra/utils/ultra_l1_utils.py +13 -1
  72. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/METADATA +2 -2
  73. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/RECORD +76 -83
  74. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_LeftSlit.csv +0 -526
  75. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_RightSlit.csv +0 -526
  76. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_LeftSlit.csv +0 -526
  77. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_RightSlit.csv +0 -524
  78. imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +0 -32769
  79. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  80. imap_processing/ultra/lookup_tables/FM90_Startup1_ULTRA_IMGPARAMS_20240719.csv +0 -2
  81. imap_processing/ultra/lookup_tables/dps_grid45_compressed.cdf +0 -0
  82. imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +0 -4097
  83. imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +0 -2050
  84. imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +0 -4097
  85. imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +0 -2050
  86. imap_processing/ultra/lookup_tables/yadjust.csv +0 -257
  87. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/LICENSE +0 -0
  88. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/WHEEL +0 -0
  89. {imap_processing-0.17.0.dist-info → imap_processing-0.18.0.dist-info}/entry_points.txt +0 -0
@@ -12,20 +12,24 @@ default_attrs: &default
12
12
  SCALETYP: linear
13
13
 
14
14
  default_uint8_attrs: &default_uint8
15
- <<: *default
15
+ DISPLAY_TYPE: time_series
16
+ VAR_TYPE: data
17
+ UNITS: ' '
18
+ SCALETYP: linear
16
19
  FILLVAL: 255
17
20
  FORMAT: I3
18
21
  VALIDMIN: 0
19
22
  VALIDMAX: 255
20
- dtype: uint8
21
23
 
22
24
  default_uint16_attrs: &default_uint16
23
- <<: *default
25
+ DISPLAY_TYPE: time_series
26
+ VAR_TYPE: data
27
+ UNITS: ' '
28
+ SCALETYP: linear
24
29
  FILLVAL: 65535
25
30
  FORMAT: I5
26
31
  VALIDMIN: 0
27
32
  VALIDMAX: 65535
28
- dtype: uint16
29
33
 
30
34
  default_uint32_attrs: &default_uint32
31
35
  <<: *default
@@ -33,7 +37,6 @@ default_uint32_attrs: &default_uint32
33
37
  FORMAT: I10
34
38
  VALIDMIN: 0
35
39
  VALIDMAX: 4294967295
36
- dtype: uint32
37
40
 
38
41
  default_hk_attrs: &default_hk
39
42
  <<: *default
@@ -53,22 +56,27 @@ default_counts_attrs: &default_counts
53
56
  VALIDMIN: 0
54
57
  VALIDMAX: 10000000000
55
58
  UNITS: counts
56
- LABLAXIS: Counts
57
59
  SCALETYP: log
58
60
 
59
61
  default_counts_support_attrs: &default_counts_support
60
- <<: *default
61
62
  DISPLAY_TYPE: no_plot
62
63
  VAR_TYPE: support_data
63
64
  FILLVAL: -1.00E+31
64
65
  VALIDMIN: 0
65
66
  VALIDMAX: 1000
67
+ UNITS: ' '
68
+ SCALETYP: linear
66
69
 
67
70
  default_index_attrs: &default_index
68
- <<: *default_uint32
69
- DISPLAY_TYPE: no_plot
70
- VAR_TYPE: support_data
71
- VALIDMAX: 1000
71
+ DISPLAY_TYPE: no_plot
72
+ VAR_TYPE: support_data
73
+ VALIDMIN: 0
74
+ VALIDMAX: 1000
75
+ FILLVAL: 4294967295
76
+ FORMAT: I10
77
+ UNITS: ' '
78
+ SCALETYP: linear
79
+
72
80
 
73
81
  default_energy_attrs: &default_energy
74
82
  VAR_TYPE: support_data
@@ -77,9 +85,9 @@ default_energy_attrs: &default_energy
77
85
  FILLVAL: -1.00E+31
78
86
  VALIDMIN: 0
79
87
  VALIDMAX: 1000
80
- FORMAT: F5.1
81
- UNITS: MeV
82
- SCALE_TYP: log
88
+ FORMAT: F6.1
89
+ UNITS: MeV/nuc
90
+ SCALETYP: log
83
91
 
84
92
  default_uncertainty_attrs: &default_uncertainty
85
93
  DEPEND_0: epoch
@@ -88,29 +96,32 @@ default_uncertainty_attrs: &default_uncertainty
88
96
  VALIDMIN: 0
89
97
  VALIDMAX: 10000000000
90
98
  FILLVAL: -1.00E+31
91
- FORMAT: F9.3
99
+ FORMAT: F15.3
92
100
  UNITS: counts
93
- SCALE_TYP: log
101
+ SCALETYP: log
94
102
 
95
103
  # <=== Coordinates ===>
96
104
  sc_tick:
97
- <<: *default_uint32
98
105
  CATDESC: Raw spacecraft tick time per integration
99
106
  FIELDNAM: Spacecraft Tick
100
107
  LABLAXIS: sc_tick
101
108
  FORMAT: I10
102
109
  VAR_TYPE: support_data
103
110
  DISPLAY_TYPE: no_plot
104
- UNITS: ''
111
+ VALIDMIN: 0
112
+ VALIDMAX: 4294967295
113
+ FILLVAL: 4294967295
114
+ UNITS: ' '
105
115
  SCALETYP: linear
106
116
 
117
+
107
118
  # Counts Dataset Coordinates
108
119
  zenith:
109
120
  <<: *default_counts_support
110
121
  CATDESC: Angle from the spin axis (0 deg.) to anti-spin axis (180 deg.) in 8 bins
111
122
  FIELDNAM: Zenith
112
123
  LABLAXIS: Zenith
113
- FORMAT: F5.1
124
+ FORMAT: F12.2
114
125
  UNITS: deg
115
126
 
116
127
  azimuth:
@@ -118,7 +129,7 @@ azimuth:
118
129
  CATDESC: Spin angle in 15 bins (0 deg. is zero of spin phase)
119
130
  FIELDNAM: Azimuth
120
131
  LABLAXIS: Azimuth
121
- FORMAT: F5.1
132
+ FORMAT: F12.2
122
133
  UNITS: Deg
123
134
 
124
135
  gain:
@@ -126,105 +137,118 @@ gain:
126
137
  CATDESC: Single rates gain. 0=low, 1=high
127
138
  FIELDNAM: gain
128
139
  LABLAXIS: Gain
129
- FORMAT: I1
140
+ FORMAT: I10
141
+ FILLVAL: 65535
130
142
 
131
143
  sngrates_index:
132
144
  <<: *default_index
133
145
  CATDESC: Single rates index
134
146
  FIELDNAM: sngrates_index
135
147
  LABLAXIS: sngrates index
148
+ FILLVAL: 4294967295
136
149
 
137
150
  coinrates_index:
138
151
  <<: *default_index
139
152
  CATDESC: Coincidence rates index
140
153
  FIELDNAM: coinrates_index
141
154
  LABLAXIS: coinrates index
155
+ FILLVAL: 4294967295
142
156
 
143
157
  pbufrates_index:
144
158
  <<: *default_index
145
159
  CATDESC: Priority buffer rates index
146
160
  FIELDNAM: pbufrates_index
147
161
  LABLAXIS: pbufrates index
162
+ FILLVAL: 4294967295
148
163
 
149
164
  l2fgrates_index:
150
165
  <<: *default_index
151
166
  CATDESC: Range 2 foreground rates index
152
167
  FIELDNAM: l2fgrates_index
153
168
  LABLAXIS: l2fgrates index
169
+ FILLVAL: 4294967295
154
170
 
155
171
  l2bgrates_index:
156
172
  <<: *default_index
157
173
  CATDESC: Range 2 background rates index
158
174
  FIELDNAM: l2bgrates_index
159
175
  LABLAXIS: l2bgrates index
176
+ FILLVAL: 4294967295
160
177
 
161
178
  l3fgrates_index:
162
179
  <<: *default_index
163
180
  CATDESC: Range 3 foreground rates index
164
181
  FIELDNAM: l3fgrates index
165
182
  LABLAXIS: l3fgrates index
183
+ FILLVAL: 4294967295
166
184
 
167
185
  l3bgrates_index:
168
186
  <<: *default_index
169
187
  CATDESC: Range 3 background rates index
170
188
  FIELDNAM: l3bgrates index
171
189
  LABLAXIS: l3bgrates index
190
+ FILLVAL: 4294967295
172
191
 
173
192
  penfgrates_index:
174
193
  <<: *default_index
175
194
  CATDESC: Range 4 foreground rates index
176
195
  FIELDNAM: penfgrates index
177
196
  LABLAXIS: penfgrates index
197
+ FILLVAL: 4294967295
178
198
 
179
199
  penbgrates_index:
180
200
  <<: *default_index
181
201
  CATDESC: Range 4 background rates index
182
202
  FIELDNAM: penbgrates index
183
203
  LABLAXIS: penbgrates index
204
+ FILLVAL: 4294967295
184
205
 
185
206
  ialirtrates_index:
186
207
  <<: *default_index
187
208
  CATDESC: ialirtrates index
188
209
  FIELDNAM: ialirtrates index
189
210
  LABLAXIS: ialirtrates index
211
+ FILLVAL: 4294967295
190
212
 
191
213
  l4fgrates_index:
192
214
  <<: *default_index
193
215
  CATDESC: L4 ions foreground rates index
194
216
  FIELDNAM: l4fgrates index
195
217
  LABLAXIS: l4fgrates index
218
+ FILLVAL: 4294967295
196
219
 
197
220
  l4bgrates_index:
198
221
  <<: *default_index
199
222
  CATDESC: L4 ions background rates index
200
223
  FIELDNAM: l4bgrates index
201
224
  LABLAXIS: l4bgrates index
225
+ FILLVAL: 4294967295
202
226
 
203
227
  h_energy_mean:
204
228
  <<: *default_energy
205
- CATDESC: H sectored geometric mean energy
229
+ CATDESC: H sectored geometric mean energy per nucleon
206
230
  FIELDNAM: H energy mean
207
231
  DELTA_MINUS_VAR: h_energy_delta_minus
208
232
  DELTA_PLUS_VAR: h_energy_delta_plus
209
233
 
210
234
  he4_energy_mean:
211
235
  <<: *default_energy
212
- CATDESC: He4 sectored geometric mean energy
236
+ CATDESC: He4 sectored geometric mean energy per nucleon
213
237
  FIELDNAM: He4 energy mean
214
238
 
215
239
  cno_energy_mean:
216
240
  <<: *default_energy
217
- CATDESC: C, N, O sectored geometric mean energy
241
+ CATDESC: C, N, O sectored geometric mean energy per nucleon
218
242
  FIELDNAM: C, N, O energy mean
219
243
 
220
244
  nemgsi_energy_mean:
221
245
  <<: *default_energy
222
- CATDESC: Ne, Mg, Si sectored geometric mean energy
246
+ CATDESC: Ne, Mg, Si sectored geometric mean energy per nucleon
223
247
  FIELDNAM: Ne, Mg, Si energy mean
224
248
 
225
249
  fe_energy_mean:
226
250
  <<: *default_energy
227
- CATDESC: Fe sectored geometric mean energy
251
+ CATDESC: Fe sectored geometric mean energy per nucleon
228
252
  FIELDNAM: Fe energy mean
229
253
 
230
254
 
@@ -252,6 +276,12 @@ adc_channels_label:
252
276
  VAR_TYPE: metadata
253
277
 
254
278
  # Counts Dataset Labels
279
+ sc_tick_label:
280
+ CATDESC: Raw spacecraft tick time per integration
281
+ FIELDNAM: Spacecraft Tick
282
+ FORMAT: A10
283
+ VAR_TYPE: metadata
284
+
255
285
  zenith_label:
256
286
  CATDESC: Angle from the spin axis (0 deg.) to anti-spin axis (180 deg.) in 8 bins
257
287
  FIELDNAM: Zenith Angle
@@ -343,31 +373,31 @@ l4bgrates_index_label:
343
373
  VAR_TYPE: metadata
344
374
 
345
375
  h_energy_mean_label:
346
- CATDESC: Geometric mean energy for H
376
+ CATDESC: Geometric mean energy per nucleon for H
347
377
  FIELDNAM: H Energy
348
378
  FORMAT: A5
349
379
  VAR_TYPE: metadata
350
380
 
351
381
  he4_energy_mean_label:
352
- CATDESC: Geometric mean energy for He4
382
+ CATDESC: Geometric mean energy per nucleon for He4
353
383
  FIELDNAM: He4 Energy
354
384
  FORMAT: A5
355
385
  VAR_TYPE: metadata
356
386
 
357
387
  nemgsi_energy_mean_label:
358
- CATDESC: Geometric mean energy for NeMgSi
388
+ CATDESC: Geometric mean energy per nucleon for NeMgSi
359
389
  FIELDNAM: NeMgSi Energy
360
390
  FORMAT: A5
361
391
  VAR_TYPE: metadata
362
392
 
363
393
  cno_energy_mean_label:
364
- CATDESC: Geometric mean energy for CNO
394
+ CATDESC: Geometric mean energy per nucleon for CNO
365
395
  FIELDNAM: CNO Energy
366
396
  FORMAT: A5
367
397
  VAR_TYPE: metadata
368
398
 
369
399
  fe_energy_mean_label:
370
- CATDESC: Geometric mean energy for Fe
400
+ CATDESC: Geometric mean energy per nucleon for Fe
371
401
  FIELDNAM: Fe Energy
372
402
  FORMAT: A5
373
403
  VAR_TYPE: metadata
@@ -381,7 +411,7 @@ version:
381
411
  FIELDNAM: CCSDS version
382
412
  LABLAXIS: Value
383
413
  VAR_TYPE: support_data
384
- DEPEND_0: sc_tick
414
+ DEPEND_1: sc_tick
385
415
 
386
416
  type:
387
417
  <<: *default_uint8
@@ -389,7 +419,7 @@ type:
389
419
  FIELDNAM: CCSDS type
390
420
  LABLAXIS: Value
391
421
  VAR_TYPE: support_data
392
- DEPEND_0: sc_tick
422
+ DEPEND_1: sc_tick
393
423
 
394
424
  sec_hdr_flg:
395
425
  <<: *default_uint8
@@ -397,7 +427,7 @@ sec_hdr_flg:
397
427
  FIELDNAM: CCSDS secondary header flag
398
428
  LABLAXIS: Value
399
429
  VAR_TYPE: support_data
400
- DEPEND_0: sc_tick
430
+ DEPEND_1: sc_tick
401
431
 
402
432
  pkt_apid:
403
433
  <<: *default_uint16
@@ -405,7 +435,7 @@ pkt_apid:
405
435
  FIELDNAM: CCSDS APID
406
436
  LABLAXIS: Value
407
437
  VAR_TYPE: support_data
408
- DEPEND_0: sc_tick
438
+ DEPEND_1: sc_tick
409
439
 
410
440
  seq_flgs:
411
441
  <<: *default_uint8
@@ -413,7 +443,7 @@ seq_flgs:
413
443
  FIELDNAM: CCSDS sequence flags
414
444
  LABLAXIS: Value
415
445
  VAR_TYPE: support_data
416
- DEPEND_0: sc_tick
446
+ DEPEND_1: sc_tick
417
447
 
418
448
  src_seq_ctr:
419
449
  <<: *default_uint16
@@ -421,7 +451,7 @@ src_seq_ctr:
421
451
  FIELDNAM: CCSDS sequence counter
422
452
  LABLAXIS: Value
423
453
  VAR_TYPE: support_data
424
- DEPEND_0: sc_tick
454
+ DEPEND_1: sc_tick
425
455
 
426
456
  pkt_len:
427
457
  <<: *default_uint16
@@ -429,7 +459,7 @@ pkt_len:
429
459
  FIELDNAM: CCSDS packet length
430
460
  LABLAXIS: Value
431
461
  VAR_TYPE: support_data
432
- DEPEND_0: sc_tick
462
+ DEPEND_1: sc_tick
433
463
 
434
464
  # Counts dataset variables
435
465
  hdr_frame_version:
@@ -437,58 +467,61 @@ hdr_frame_version:
437
467
  CATDESC: Raw header frame version per integration
438
468
  FIELDNAM: hdr_frame_version
439
469
  LABLAXIS: Value
440
- UNITS: ''
470
+ UNITS: ' '
441
471
 
442
472
  hdr_dynamic_threshold_state:
443
- <<: *default_counts
473
+ <<: *default_uint8
474
+ DEPEND_0: epoch
444
475
  CATDESC: Raw header dynamic threshold state per integration
445
476
  FIELDNAM: hdr_dynamic_threshold_state
446
477
  LABLAXIS: State
447
478
  UNITS: state
448
- VALIDMAX: 3
449
479
 
450
480
  hdr_leak_conv:
451
481
  <<: *default_counts
452
482
  CATDESC: Raw header leak conversion per integration
453
483
  FIELDNAM: hdr_leak_conv
454
484
  LABLAXIS: Value
455
- UNITS: ''
485
+ UNITS: ' '
456
486
 
457
- hdr_heavy_duty_cycle:
487
+ hdr_heater_duty_cycle:
458
488
  <<: *default_counts
459
489
  CATDESC: Raw header heavy duty cycle per integration
460
490
  FIELDNAM: hdr_heavy_duty_cycle
461
491
  LABLAXIS: Value
462
- UNITS: ''
492
+ UNITS: ' '
463
493
 
464
494
  hdr_code_ok:
465
495
  <<: *default_counts
466
496
  CATDESC: Raw header code ok per integration
467
497
  FIELDNAM: hdr_code_ok
468
498
  LABLAXIS: Value
469
- UNITS: ''
499
+ UNITS: ' '
470
500
 
471
501
  hdr_unit_num:
472
502
  <<: *default_counts
473
503
  CATDESC: Raw header unit number per integration
474
504
  FIELDNAM: hdr_unit_num
475
505
  LABLAXIS: Value
476
- UNITS: ''
506
+ UNITS: ' '
477
507
 
478
508
  hdr_minute_cnt:
479
509
  <<: *default_counts
480
510
  CATDESC: Raw header minute count per integration
481
511
  FIELDNAM: hdr_minute_cnt
512
+ LABLAXIS: Counts
482
513
 
483
514
  livetime_counter:
484
515
  <<: *default_counts
485
516
  CATDESC: Raw livetime counter per integration
486
517
  FIELDNAM: livetime_counter
518
+ LABLAXIS: Counts
487
519
 
488
520
  num_trig:
489
521
  <<: *default_counts
490
522
  CATDESC: Raw number of triggers
491
523
  FIELDNAM: num_trig
524
+ LABLAXIS: Counts
492
525
  DELTA_MINUS_VAR: num_trig_stat_uncert_minus
493
526
  DELTA_PLUS_VAR: num_trig_stat_uncert_plus
494
527
 
@@ -496,6 +529,7 @@ num_reject:
496
529
  <<: *default_counts
497
530
  CATDESC: Raw number of rejected events
498
531
  FIELDNAM: num_reject
532
+ LABLAXIS: Counts
499
533
  DELTA_MINUS_VAR: num_reject_stat_uncert_minus
500
534
  DELTA_PLUS_VAR: num_reject_stat_uncert_plus
501
535
 
@@ -503,6 +537,7 @@ num_acc_w_pha:
503
537
  <<: *default_counts
504
538
  CATDESC: Raw number of accepted events with PHA data
505
539
  FIELDNAM: num_acc_w_pha
540
+ LABLAXIS: Counts
506
541
  DELTA_MINUS_VAR: num_acc_w_pha_stat_uncert_minus
507
542
  DELTA_PLUS_VAR: num_acc_w_pha_stat_uncert_plus
508
543
 
@@ -510,6 +545,7 @@ num_acc_no_pha:
510
545
  <<: *default_counts
511
546
  CATDESC: Raw number of events without PHA data
512
547
  FIELDNAM: num_acc_no_pha
548
+ LABLAXIS: Counts
513
549
  DELTA_MINUS_VAR: num_acc_no_pha_stat_uncert_minus
514
550
  DELTA_PLUS_VAR: num_acc_no_pha_stat_uncert_plus
515
551
 
@@ -517,6 +553,7 @@ num_haz_trig:
517
553
  <<: *default_counts
518
554
  CATDESC: Raw number of events triggered with a hazard condition
519
555
  FIELDNAM: num_haz_trig
556
+ LABLAXIS: Counts
520
557
  DELTA_MINUS_VAR: num_haz_trig_stat_uncert_minus
521
558
  DELTA_PLUS_VAR: num_haz_trig_stat_uncert_plus
522
559
 
@@ -524,6 +561,7 @@ num_haz_reject:
524
561
  <<: *default_counts
525
562
  CATDESC: Raw number of events rejected for hazard condition
526
563
  FIELDNAM: num_haz_reject
564
+ LABLAXIS: Counts
527
565
  DELTA_MINUS_VAR: num_haz_reject_stat_uncert_minus
528
566
  DELTA_PLUS_VAR: num_haz_reject_stat_uncert_plus
529
567
 
@@ -531,6 +569,7 @@ num_haz_acc_w_pha:
531
569
  <<: *default_counts
532
570
  CATDESC: Raw number of events with hazard condition with PHA data
533
571
  FIELDNAM: num_haz_acc_w_pha
572
+ LABLAXIS: Counts
534
573
  DELTA_MINUS_VAR: num_haz_acc_w_pha_stat_uncert_minus
535
574
  DELTA_PLUS_VAR: num_haz_acc_w_pha_stat_uncert_plus
536
575
 
@@ -538,6 +577,7 @@ num_haz_acc_no_pha:
538
577
  <<: *default_counts
539
578
  CATDESC: Raw number of events accepted with hazard condition without PHA data
540
579
  FIELDNAM: num_haz_acc_no_pha
580
+ LABLAXIS: Counts
541
581
  DELTA_MINUS_VAR: num_haz_acc_no_pha_stat_uncert_minus
542
582
  DELTA_PLUS_VAR: num_haz_acc_no_pha_stat_uncert_plus
543
583
 
@@ -545,6 +585,7 @@ nread:
545
585
  <<: *default_counts
546
586
  CATDESC: Raw number of events read from event FIFO
547
587
  FIELDNAM: nread
588
+ LABLAXIS: Counts
548
589
  DELTA_MINUS_VAR: nread_stat_uncert_minus
549
590
  DELTA_PLUS_VAR: nread_stat_uncert_plus
550
591
 
@@ -552,6 +593,7 @@ nhazard:
552
593
  <<: *default_counts
553
594
  CATDESC: Raw number of events rejected for Hazard condition
554
595
  FIELDNAM: nhazard
596
+ LABLAXIS: Counts
555
597
  DELTA_MINUS_VAR: nhazard_stat_uncert_minus
556
598
  DELTA_PLUS_VAR: nhazard_stat_uncert_plus
557
599
 
@@ -559,6 +601,7 @@ nadcstim:
559
601
  <<: *default_counts
560
602
  CATDESC: Raw number of ADC-calibration STIM events
561
603
  FIELDNAM: nadcstim
604
+ LABLAXIS: Counts
562
605
  DELTA_MINUS_VAR: nadcstim_stat_uncert_minus
563
606
  DELTA_PLUS_VAR: nadcstim_stat_uncert_plus
564
607
 
@@ -566,6 +609,7 @@ nodd:
566
609
  <<: *default_counts
567
610
  CATDESC: Raw number of odd events
568
611
  FIELDNAM: nodd
612
+ LABLAXIS: Counts
569
613
  DELTA_MINUS_VAR: nodd_stat_uncert_minus
570
614
  DELTA_PLUS_VAR: nodd_stat_uncert_plus
571
615
 
@@ -573,6 +617,7 @@ noddfix:
573
617
  <<: *default_counts
574
618
  CATDESC: Raw number of fixed odd events
575
619
  FIELDNAM: noddfix
620
+ LABLAXIS: Counts
576
621
  DELTA_MINUS_VAR: noddfix_stat_uncert_minus
577
622
  DELTA_PLUS_VAR: noddfix_stat_uncert_plus
578
623
 
@@ -580,6 +625,7 @@ nmulti:
580
625
  <<: *default_counts
581
626
  CATDESC: Raw number of events with multiple hits in relevant layers
582
627
  FIELDNAM: nmulti
628
+ LABLAXIS: Counts
583
629
  DELTA_MINUS_VAR: nmulti_stat_uncert_minus
584
630
  DELTA_PLUS_VAR: nmulti_stat_uncert_plus
585
631
 
@@ -587,6 +633,7 @@ nmultifix:
587
633
  <<: *default_counts
588
634
  CATDESC: Raw number of fix multi events
589
635
  FIELDNAM: nmultifix
636
+ LABLAXIS: Counts
590
637
  DELTA_MINUS_VAR: nmultifix_stat_uncert_minus
591
638
  DELTA_PLUS_VAR: nmultifix_stat_uncert_plus
592
639
 
@@ -594,6 +641,7 @@ nbadtraj:
594
641
  <<: *default_counts
595
642
  CATDESC: Raw number of events rejected for inconsistent/bad trajectory
596
643
  FIELDNAM: nbadtraj
644
+ LABLAXIS: Counts
597
645
  DELTA_MINUS_VAR: nbadtraj_stat_uncert_minus
598
646
  DELTA_PLUS_VAR: nbadtraj_stat_uncert_plus
599
647
 
@@ -601,6 +649,7 @@ nl2:
601
649
  <<: *default_counts
602
650
  CATDESC: Raw number of events sorted into L12 event category
603
651
  FIELDNAM: nl2
652
+ LABLAXIS: Counts
604
653
  DELTA_MINUS_VAR: nl2_stat_uncert_minus
605
654
  DELTA_PLUS_VAR: nl2_stat_uncert_plus
606
655
 
@@ -608,6 +657,7 @@ nl3:
608
657
  <<: *default_counts
609
658
  CATDESC: Raw number of events sorted into L123 event category
610
659
  FIELDNAM: nl3
660
+ LABLAXIS: Counts
611
661
  DELTA_MINUS_VAR: nl3_stat_uncert_minus
612
662
  DELTA_PLUS_VAR: nl3_stat_uncert_plus
613
663
 
@@ -615,6 +665,7 @@ nl4:
615
665
  <<: *default_counts
616
666
  CATDESC: Raw number of events sorted into L1423 event category
617
667
  FIELDNAM: nl4
668
+ LABLAXIS: Counts
618
669
  DELTA_MINUS_VAR: nl4_stat_uncert_minus
619
670
  DELTA_PLUS_VAR: nl4_stat_uncert_plus
620
671
 
@@ -622,6 +673,7 @@ npen:
622
673
  <<: *default_counts
623
674
  CATDESC: Raw number of events sorted into PEN event category
624
675
  FIELDNAM: npen
676
+ LABLAXIS: Counts
625
677
  DELTA_MINUS_VAR: npen_stat_uncert_minus
626
678
  DELTA_PLUS_VAR: npen_stat_uncert_plus
627
679
 
@@ -629,6 +681,7 @@ nformat:
629
681
  <<: *default_counts
630
682
  CATDESC: Raw number of events handled by the telemetry event formatter
631
683
  FIELDNAM: nformat
684
+ LABLAXIS: Counts
632
685
  DELTA_MINUS_VAR: nformat_stat_uncert_minus
633
686
  DELTA_PLUS_VAR: nformat_stat_uncert_plus
634
687
 
@@ -636,6 +689,7 @@ naside:
636
689
  <<: *default_counts
637
690
  CATDESC: Raw number of events the software assumed were A-side events
638
691
  FIELDNAM: naside
692
+ LABLAXIS: Counts
639
693
  DELTA_MINUS_VAR: naside_stat_uncert_minus
640
694
  DELTA_PLUS_VAR: naside_stat_uncert_plus
641
695
 
@@ -643,6 +697,7 @@ nbside:
643
697
  <<: *default_counts
644
698
  CATDESC: Raw number of events the software assumed were B-side events
645
699
  FIELDNAM: nbside
700
+ LABLAXIS: Counts
646
701
  DELTA_MINUS_VAR: nbside_stat_uncert_minus
647
702
  DELTA_PLUS_VAR: nbside_stat_uncert_plus
648
703
 
@@ -650,6 +705,7 @@ nerror:
650
705
  <<: *default_counts
651
706
  CATDESC: Raw number of events that caused a processing error
652
707
  FIELDNAM: nerror
708
+ LABLAXIS: Counts
653
709
  DELTA_MINUS_VAR: nerror_stat_uncert_minus
654
710
  DELTA_PLUS_VAR: nerror_stat_uncert_plus
655
711
 
@@ -657,6 +713,7 @@ nbadtags:
657
713
  <<: *default_counts
658
714
  CATDESC: Raw number of events with bad tags from onboard event-processing
659
715
  FIELDNAM: nbadtags
716
+ LABLAXIS: Counts
660
717
  DELTA_MINUS_VAR: nbadtags_stat_uncert_minus
661
718
  DELTA_PLUS_VAR: nbadtags_stat_uncert_plus
662
719
 
@@ -666,8 +723,8 @@ sngrates:
666
723
  DEPEND_2: sngrates_index
667
724
  CATDESC: Raw single rates per integration
668
725
  FIELDNAM: sngrates
669
- LABL_PTR_1: sngrates_index_label
670
- LABL_PTR_2: gain_label
726
+ LABL_PTR_1: gain_label
727
+ LABL_PTR_2: sngrates_index_label
671
728
  DELTA_MINUS_VAR: sngrates_stat_uncert_minus
672
729
  DELTA_PLUS_VAR: sngrates_stat_uncert_plus
673
730
 
@@ -772,8 +829,8 @@ l4bgrates:
772
829
 
773
830
  sectorates:
774
831
  <<: *default_counts
775
- DEPEND_1: zenith
776
- DEPEND_2: azimuth
832
+ DEPEND_1: azimuth
833
+ DEPEND_2: zenith
777
834
  CATDESC: Raw sectored rates per integration
778
835
  FIELDNAM: Sectored rates
779
836
  LABL_PTR_1: azimuth_label
@@ -783,56 +840,66 @@ sectorates:
783
840
 
784
841
  h_sectored_counts:
785
842
  <<: *default_counts
786
- DEPEND_1: zenith
787
- DEPEND_2: azimuth
788
843
  CATDESC: Raw H sectored counts per integration
789
844
  FIELDNAM: H sectored counts
790
- LABL_PTR_1: azimuth_label
791
- LABL_PTR_2: zenith_label
845
+ DEPEND_1: h_energy_mean
846
+ DEPEND_2: azimuth
847
+ DEPEND_3: zenith
848
+ LABL_PTR_1: h_energy_mean_label
849
+ LABL_PTR_2: azimuth_label
850
+ LABL_PTR_3: zenith_label
792
851
  DELTA_MINUS_VAR: h_sectored_counts_stat_uncert_minus
793
852
  DELTA_PLUS_VAR: h_sectored_counts_stat_uncert_plus
794
853
 
795
854
  he4_sectored_counts:
796
855
  <<: *default_counts
797
- DEPEND_1: zenith
798
- DEPEND_2: azimuth
799
856
  CATDESC: Raw He4 sectored counts per integration
800
857
  FIELDNAM: He4 sectored counts
801
- LABL_PTR_1: azimuth_label
802
- LABL_PTR_2: zenith_label
858
+ DEPEND_1: he4_energy_mean
859
+ DEPEND_2: azimuth
860
+ DEPEND_3: zenith
861
+ LABL_PTR_1: he4_energy_mean_label
862
+ LABL_PTR_2: azimuth_label
863
+ LABL_PTR_3: zenith_label
803
864
  DELTA_MINUS_VAR: he4_sectored_counts_stat_uncert_minus
804
865
  DELTA_PLUS_VAR: he4_sectored_counts_stat_uncert_plus
805
866
 
806
867
  cno_sectored_counts:
807
868
  <<: *default_counts
808
- DEPEND_1: zenith
809
- DEPEND_2: azimuth
810
869
  CATDESC: Raw C, N, O sectored counts per integration
811
870
  FIELDNAM: C, N, O sectored counts
812
- LABL_PTR_1: azimuth_label
813
- LABL_PTR_2: zenith_label
871
+ DEPEND_1: cno_energy_mean
872
+ DEPEND_2: azimuth
873
+ DEPEND_3: zenith
874
+ LABL_PTR_1: cno_energy_mean_label
875
+ LABL_PTR_2: azimuth_label
876
+ LABL_PTR_3: zenith_label
814
877
  DELTA_MINUS_VAR: cno_sectored_counts_stat_uncert_minus
815
878
  DELTA_PLUS_VAR: cno_sectored_counts_stat_uncert_plus
816
879
 
817
880
  nemgsi_sectored_counts:
818
881
  <<: *default_counts
819
- DEPEND_1: zenith
820
- DEPEND_2: azimuth
821
882
  CATDESC: Raw Ne, Mg, Si sectored counts per integration
822
883
  FIELDNAM: Ne, Mg, Si sectored counts
823
- LABL_PTR_1: azimuth_label
824
- LABL_PTR_2: zenith_label
884
+ DEPEND_1: nemgsi_energy_mean
885
+ DEPEND_2: azimuth
886
+ DEPEND_3: zenith
887
+ LABL_PTR_1: nemgsi_energy_mean_label
888
+ LABL_PTR_2: azimuth_label
889
+ LABL_PTR_3: zenith_label
825
890
  DELTA_MINUS_VAR: nemgsi_sectored_counts_stat_uncert_minus
826
891
  DELTA_PLUS_VAR: nemgsi_sectored_counts_stat_uncert_plus
827
892
 
828
893
  fe_sectored_counts:
829
894
  <<: *default_counts
830
- DEPEND_1: zenith
831
- DEPEND_2: azimuth
832
895
  CATDESC: Raw Fe sectored counts per integration
833
896
  FIELDNAM: Fe sectored counts
834
- LABL_PTR_1: azimuth_label
835
- LABL_PTR_2: zenith_label
897
+ DEPEND_1: fe_energy_mean
898
+ DEPEND_2: azimuth
899
+ DEPEND_3: zenith
900
+ LABL_PTR_1: fe_energy_mean_label
901
+ LABL_PTR_2: azimuth_label
902
+ LABL_PTR_3: zenith_label
836
903
  DELTA_MINUS_VAR: fe_sectored_counts_stat_uncert_minus
837
904
  DELTA_PLUS_VAR: fe_sectored_counts_stat_uncert_plus
838
905
 
@@ -840,61 +907,61 @@ fe_sectored_counts:
840
907
  h_energy_delta_plus:
841
908
  <<: *default_energy
842
909
  DEPEND_1: h_energy_mean
843
- CATDESC: H energy delta plus (maximum bin energy minus geometric mean)
910
+ CATDESC: H energy per nucleon delta plus (maximum bin energy per nuc. minus geometric mean)
844
911
  FIELDNAM: H energy delta plus
845
912
 
846
913
  h_energy_delta_minus:
847
914
  <<: *default_energy
848
915
  DEPEND_1: h_energy_mean
849
- CATDESC: H energy delta minus (geometric mean minus minimum bin energy)
916
+ CATDESC: H energy per nucleon delta minus (geometric mean minus minimum bin energy per nuc.)
850
917
  FIELDNAM: H energy delta minus
851
918
 
852
919
  he4_energy_delta_plus:
853
920
  <<: *default_energy
854
921
  DEPEND_1: he4_energy_mean
855
- CATDESC: He4 energy delta plus (maximum bin energy minus geometric mean)
922
+ CATDESC: He4 energy per nucleon delta plus (maximum bin energy per nuc. minus geometric mean)
856
923
  FIELDNAM: He4 energy delta plus
857
924
 
858
925
  he4_energy_delta_minus:
859
926
  <<: *default_energy
860
927
  DEPEND_1: he4_energy_mean
861
- CATDESC: He4 energy delta minus (geometric mean minus minimum bin energy)
928
+ CATDESC: He4 energy per nucleon delta minus (geometric mean minus minimum bin energy per nuc.)
862
929
  FIELDNAM: He4 energy delta minus
863
930
 
864
931
  cno_energy_delta_plus:
865
932
  <<: *default_energy
866
933
  DEPEND_1: cno_energy_mean
867
- CATDESC: C, N, O energy delta plus (maximum bin energy minus geometric mean)
934
+ CATDESC: C, N, O energy per nucleon delta plus (maximum bin energy per nuc. minus geometric mean)
868
935
  FIELDNAM: C, N, O energy delta plus
869
936
 
870
937
  cno_energy_delta_minus:
871
938
  <<: *default_energy
872
939
  DEPEND_1: cno_energy_mean
873
- CATDESC: C, N, O energy delta minus (geometric mean minus minimum bin energy)
940
+ CATDESC: C, N, O energy per nucleon delta minus (geometric mean minus minimum bin energy per nuc.)
874
941
  FIELDNAM: C, N, O energy delta minus
875
942
 
876
943
  nemgsi_energy_delta_plus:
877
944
  <<: *default_energy
878
945
  DEPEND_1: nemgsi_energy_mean
879
- CATDESC: Ne, Mg, Si energy delta plus (maximum bin energy minus geometric mean)
946
+ CATDESC: Ne, Mg, Si energy per nucleon delta plus (maximum bin energy per nuc. minus geometric mean)
880
947
  FIELDNAM: Ne, Mg, Si energy delta plus
881
948
 
882
949
  nemgsi_energy_delta_minus:
883
950
  <<: *default_energy
884
951
  DEPEND_1: nemgsi_energy_mean
885
- CATDESC: Ne, Mg, Si energy delta minus (geometric mean minus minimum bin energy)
952
+ CATDESC: Ne, Mg, Si energy per nucleon delta minus (geometric mean minus minimum bin energy per nuc.)
886
953
  FIELDNAM: Ne, Mg, Si energy delta minus
887
954
 
888
955
  fe_energy_delta_plus:
889
956
  <<: *default_energy
890
957
  DEPEND_1: fe_energy_mean
891
- CATDESC: Fe energy delta plus (maximum bin energy minus geometric mean)
958
+ CATDESC: Fe energy per nucleon delta plus (maximum bin energy per nuc. minus geometric mean)
892
959
  FIELDNAM: Fe energy delta plus
893
960
 
894
961
  fe_energy_delta_minus:
895
962
  <<: *default_energy
896
963
  DEPEND_1: fe_energy_mean
897
- CATDESC: Fe energy delta minus (geometric mean minus minimum bin energy)
964
+ CATDESC: Fe energy per nucleon delta minus (geometric mean minus minimum bin energy per nuc.)
898
965
  FIELDNAM: Fe energy delta minus
899
966
 
900
967
  # Counts uncertainty variables
@@ -902,23 +969,19 @@ sectorates_stat_uncert_plus:
902
969
  <<: *default_uncertainty
903
970
  CATDESC: Plus statistical uncertainty for sector rates
904
971
  FIELDNAM: Sectored Rates Uncertainty
905
- DEPEND_1: h_energy_mean
906
- DEPEND_2: azimuth
907
- DEPEND_3: zenith
908
- LABL_PTR_1: h_energy_mean_label
909
- LABL_PTR_2: azimuth_label
910
- LABL_PTR_3: zenith_label
972
+ DEPEND_1: azimuth
973
+ DEPEND_2: zenith
974
+ LABL_PTR_1: azimuth_label
975
+ LABL_PTR_2: zenith_label
911
976
 
912
977
  sectorates_stat_uncert_minus:
913
978
  <<: *default_uncertainty
914
979
  CATDESC: Minus statistical uncertainty for sector rates
915
980
  FIELDNAM: Sectored Rates Uncertainty
916
- DEPEND_1: h_energy_mean
917
- DEPEND_2: azimuth
918
- DEPEND_3: zenith
919
- LABL_PTR_1: h_energy_mean_label
920
- LABL_PTR_2: azimuth_label
921
- LABL_PTR_3: zenith_label
981
+ DEPEND_1: azimuth
982
+ DEPEND_2: zenith
983
+ LABL_PTR_1: azimuth_label
984
+ LABL_PTR_2: zenith_label
922
985
 
923
986
  h_sectored_counts_stat_uncert_plus:
924
987
  <<: *default_uncertainty
@@ -1034,19 +1097,19 @@ sngrates_stat_uncert_plus:
1034
1097
  <<: *default_uncertainty
1035
1098
  CATDESC: Plus statistical uncertainty for single rates
1036
1099
  FIELDNAM: sngrates uncertainty
1037
- DEPEND_1: sngrates_index
1038
- DEPEND_2: gain
1039
- LABL_PTR_1: sngrates_index_label
1040
- LABL_PTR_2: gain_label
1100
+ DEPEND_1: gain
1101
+ DEPEND_2: sngrates_index
1102
+ LABL_PTR_1: gain_label
1103
+ LABL_PTR_2: sngrates_index_label
1041
1104
 
1042
1105
  sngrates_stat_uncert_minus:
1043
1106
  <<: *default_uncertainty
1044
1107
  CATDESC: Minus statistical uncertainty for single rates
1045
1108
  FIELDNAM: sngrates uncertainty
1046
- DEPEND_1: sngrates_index
1047
- DEPEND_2: gain
1048
- LABL_PTR_1: sngrates_index_label
1049
- LABL_PTR_2: gain_label
1109
+ DEPEND_1: gain
1110
+ DEPEND_2: sngrates_index
1111
+ LABL_PTR_1: gain_label
1112
+ LABL_PTR_2: sngrates_index_label
1050
1113
 
1051
1114
  coinrates_stat_uncert_plus:
1052
1115
  <<: *default_uncertainty