imap-processing 0.19.0__py3-none-any.whl → 0.19.3__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 (73) hide show
  1. imap_processing/_version.py +2 -2
  2. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +6 -0
  3. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +31 -894
  4. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +279 -255
  5. imap_processing/cdf/config/imap_enamaps_l2-common_variable_attrs.yaml +55 -0
  6. imap_processing/cdf/config/imap_enamaps_l2-healpix_variable_attrs.yaml +29 -0
  7. imap_processing/cdf/config/imap_enamaps_l2-rectangular_variable_attrs.yaml +32 -0
  8. imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +3 -1
  9. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +5 -4
  10. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +28 -16
  11. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +33 -31
  12. imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +61 -1
  13. imap_processing/cli.py +62 -71
  14. imap_processing/codice/codice_l0.py +2 -1
  15. imap_processing/codice/codice_l1a.py +47 -49
  16. imap_processing/codice/codice_l1b.py +42 -32
  17. imap_processing/codice/codice_l2.py +105 -7
  18. imap_processing/codice/constants.py +50 -8
  19. imap_processing/codice/data/lo_stepping_values.csv +1 -1
  20. imap_processing/ena_maps/ena_maps.py +39 -18
  21. imap_processing/ena_maps/utils/corrections.py +291 -0
  22. imap_processing/ena_maps/utils/map_utils.py +20 -4
  23. imap_processing/glows/l1b/glows_l1b.py +38 -23
  24. imap_processing/glows/l1b/glows_l1b_data.py +10 -11
  25. imap_processing/hi/hi_l1c.py +4 -109
  26. imap_processing/hi/hi_l2.py +34 -23
  27. imap_processing/hi/utils.py +109 -0
  28. imap_processing/ialirt/l0/ialirt_spice.py +1 -1
  29. imap_processing/ialirt/l0/parse_mag.py +18 -4
  30. imap_processing/ialirt/l0/process_hit.py +9 -4
  31. imap_processing/ialirt/l0/process_swapi.py +9 -4
  32. imap_processing/ialirt/l0/process_swe.py +9 -4
  33. imap_processing/ialirt/utils/create_xarray.py +1 -1
  34. imap_processing/lo/ancillary_data/imap_lo_hydrogen-geometric-factor_v001.csv +75 -0
  35. imap_processing/lo/ancillary_data/imap_lo_oxygen-geometric-factor_v001.csv +75 -0
  36. imap_processing/lo/l1b/lo_l1b.py +90 -16
  37. imap_processing/lo/l1c/lo_l1c.py +164 -50
  38. imap_processing/lo/l2/lo_l2.py +941 -127
  39. imap_processing/mag/l1d/mag_l1d_data.py +36 -3
  40. imap_processing/mag/l2/mag_l2.py +2 -0
  41. imap_processing/mag/l2/mag_l2_data.py +4 -3
  42. imap_processing/quality_flags.py +14 -0
  43. imap_processing/spice/geometry.py +13 -8
  44. imap_processing/spice/pointing_frame.py +4 -2
  45. imap_processing/spice/repoint.py +49 -0
  46. imap_processing/ultra/constants.py +29 -0
  47. imap_processing/ultra/l0/decom_tools.py +58 -46
  48. imap_processing/ultra/l0/decom_ultra.py +21 -9
  49. imap_processing/ultra/l0/ultra_utils.py +4 -4
  50. imap_processing/ultra/l1b/badtimes.py +35 -11
  51. imap_processing/ultra/l1b/de.py +15 -9
  52. imap_processing/ultra/l1b/extendedspin.py +24 -12
  53. imap_processing/ultra/l1b/goodtimes.py +112 -0
  54. imap_processing/ultra/l1b/lookup_utils.py +1 -1
  55. imap_processing/ultra/l1b/ultra_l1b.py +7 -7
  56. imap_processing/ultra/l1b/ultra_l1b_culling.py +8 -4
  57. imap_processing/ultra/l1b/ultra_l1b_extended.py +79 -43
  58. imap_processing/ultra/l1c/helio_pset.py +68 -39
  59. imap_processing/ultra/l1c/l1c_lookup_utils.py +45 -12
  60. imap_processing/ultra/l1c/spacecraft_pset.py +81 -37
  61. imap_processing/ultra/l1c/ultra_l1c.py +27 -22
  62. imap_processing/ultra/l1c/ultra_l1c_culling.py +7 -0
  63. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +41 -41
  64. imap_processing/ultra/l2/ultra_l2.py +75 -18
  65. imap_processing/ultra/utils/ultra_l1_utils.py +10 -5
  66. {imap_processing-0.19.0.dist-info → imap_processing-0.19.3.dist-info}/METADATA +2 -2
  67. {imap_processing-0.19.0.dist-info → imap_processing-0.19.3.dist-info}/RECORD +71 -69
  68. imap_processing/ultra/l1b/cullingmask.py +0 -90
  69. imap_processing/ultra/l1c/histogram.py +0 -36
  70. /imap_processing/glows/ancillary/{imap_glows_pipeline_settings_20250923_v002.json → imap_glows_pipeline-settings_20250923_v002.json} +0 -0
  71. {imap_processing-0.19.0.dist-info → imap_processing-0.19.3.dist-info}/LICENSE +0 -0
  72. {imap_processing-0.19.0.dist-info → imap_processing-0.19.3.dist-info}/WHEEL +0 -0
  73. {imap_processing-0.19.0.dist-info → imap_processing-0.19.3.dist-info}/entry_points.txt +0 -0
@@ -163,6 +163,17 @@ ena_rate:
163
163
  DISPLAY_TYPE: image
164
164
  DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:NumberFlux,Qualifier:Incident,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
165
165
 
166
+ background_rates:
167
+ <<: *default_float32
168
+ CATDESC: Estimated background count rate.
169
+ FIELDNAM: Background Rate
170
+ UNITS: counts/s
171
+ DEPEND_0: epoch
172
+ VAR_TYPE: data
173
+ LABLAXIS: Rate
174
+ DISPLAY_TYPE: image
175
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:NumberFlux,Qualifier:Incident,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
176
+
166
177
  ena_count:
167
178
  <<: *default_float32
168
179
  CATDESC: Mono-energetic ENA Count.
@@ -196,6 +207,50 @@ exposure_factor: &exposure_factor
196
207
  DISPLAY_TYPE: no_plot
197
208
  DICT_KEY: SPASE>TemporalDescription:Exposure,Qualifier:Directional,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
198
209
 
210
+ geometric_function:
211
+ <<: *default_float32
212
+ CATDESC: The geometric function calculated from multiple pointing sets.
213
+ FIELDNAM: geometric_function
214
+ UNITS: cm^2 sr
215
+ DEPEND_0: epoch
216
+ VAR_TYPE: data
217
+ LABLAXIS: Geometric Factor
218
+ DISPLAY_TYPE: no_plot
219
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:GeometricFactor,Qualifier:Directional,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
220
+
221
+ efficiency:
222
+ <<: *default_float32
223
+ CATDESC: Event efficiency calculated from multiple pointing sets.
224
+ FIELDNAM: efficiency
225
+ UNITS: " "
226
+ DEPEND_0: epoch
227
+ VAR_TYPE: data
228
+ LABLAXIS: Efficiency
229
+ DISPLAY_TYPE: no_plot
230
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:Other
231
+
232
+ positional_uncert_theta:
233
+ <<: *default_float32
234
+ CATDESC: Positional uncertainty in theta direction calculated from multiple pointing sets.
235
+ FIELDNAM: positional_uncertainty_theta
236
+ UNITS: degrees
237
+ DEPEND_0: epoch
238
+ VAR_TYPE: data
239
+ LABLAXIS: Position Uncertainty Theta
240
+ DISPLAY_TYPE: no_plot
241
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:ArrivalDirection,Qualifier:Uncertainty,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
242
+
243
+ positional_uncert_phi:
244
+ <<: *default_float32
245
+ CATDESC: Positional uncertainty in phi direction calculated from multiple pointing sets.
246
+ FIELDNAM: positional_uncertainty_phi
247
+ UNITS: degrees
248
+ DEPEND_0: epoch
249
+ VAR_TYPE: data
250
+ LABLAXIS: Position Uncertainty Phi
251
+ DISPLAY_TYPE: no_plot
252
+ DICT_KEY: SPASE>Particle>ParticleType:Atom,ParticleQuantity:ArrivalDirection,Qualifier:Uncertainty,CoordinateSystemName:HAE,CoordinateRepresentation:Spherical
253
+
199
254
  obs_date: &obs_date
200
255
  <<: *default_int64
201
256
  datatype: int64
@@ -72,6 +72,29 @@ sensitivity:
72
72
  LABL_PTR_1: energy_label
73
73
  LABL_PTR_2: pixel_index_label
74
74
 
75
+ efficiency:
76
+ DEPEND_1: energy
77
+ DEPEND_2: pixel_index
78
+ LABL_PTR_1: energy_label
79
+ LABL_PTR_2: pixel_index_label
80
+
81
+ geometric_function:
82
+ DEPEND_1: energy
83
+ DEPEND_2: pixel_index
84
+ LABL_PTR_1: energy_label
85
+ LABL_PTR_2: pixel_index_label
86
+
87
+ positional_uncert_theta:
88
+ DEPEND_1: energy
89
+ DEPEND_2: pixel_index
90
+ LABL_PTR_1: energy_label
91
+ LABL_PTR_2: pixel_index_label
92
+
93
+ positional_uncert_phi:
94
+ DEPEND_1: energy
95
+ DEPEND_2: pixel_index
96
+ LABL_PTR_1: energy_label
97
+ LABL_PTR_2: pixel_index_label
75
98
  # These data variables will have an extra (energy) dimension
76
99
  # only if the energy dimension is present in the L1C data.
77
100
  # The default is energy-independent.
@@ -99,6 +122,12 @@ obs_date:
99
122
  LABL_PTR_1: energy_label
100
123
  LABL_PTR_2: pixel_index_label
101
124
 
125
+ obs_date_range:
126
+ DEPEND_1: energy
127
+ DEPEND_2: pixel_index
128
+ LABL_PTR_1: energy_label
129
+ LABL_PTR_2: pixel_index_label
130
+
102
131
  solid_angle:
103
132
  DEPEND_1: pixel_index
104
133
  LABL_PTR_1: pixel_index_label
@@ -134,6 +134,38 @@ exposure_factor:
134
134
  LABL_PTR_2: longitude_label
135
135
  LABL_PTR_3: latitude_label
136
136
 
137
+ efficiency:
138
+ DEPEND_1: energy
139
+ DEPEND_2: longitude
140
+ DEPEND_3: latitude
141
+ LABL_PTR_1: energy_label
142
+ LABL_PTR_2: longitude_label
143
+ LABL_PTR_3: latitude_label
144
+
145
+ geometric_function:
146
+ DEPEND_1: energy
147
+ DEPEND_2: longitude
148
+ DEPEND_3: latitude
149
+ LABL_PTR_1: energy_label
150
+ LABL_PTR_2: longitude_label
151
+ LABL_PTR_3: latitude_label
152
+
153
+ positional_uncert_theta:
154
+ DEPEND_1: energy
155
+ DEPEND_2: longitude
156
+ DEPEND_3: latitude
157
+ LABL_PTR_1: energy_label
158
+ LABL_PTR_2: longitude_label
159
+ LABL_PTR_3: latitude_label
160
+
161
+ positional_uncert_phi:
162
+ DEPEND_1: energy
163
+ DEPEND_2: longitude
164
+ DEPEND_3: latitude
165
+ LABL_PTR_1: energy_label
166
+ LABL_PTR_2: longitude_label
167
+ LABL_PTR_3: latitude_label
168
+
137
169
  obs_date:
138
170
  DEPEND_1: energy
139
171
  DEPEND_2: longitude
@@ -203,9 +203,11 @@ number_of_spins_per_block:
203
203
  VALIDMIN: 1
204
204
 
205
205
  unique_block_identifier:
206
- <<: *support_data_defaults
207
206
  CATDESC: YYYY-MM-DDThh:mm:ss based on IMAP UTC time
208
207
  FIELDNAM: YYYY-MM-DDThh:mm:ss based on IMAP UTC time
208
+ FORMAT: A19
209
+ VAR_TYPE: support_data
210
+ DEPEND_0: epoch
209
211
 
210
212
  number_of_bins_per_histogram:
211
213
  <<: *support_data_defaults
@@ -107,8 +107,9 @@ imap_lo_l1c_pset:
107
107
  Logical_source: imap_lo_l1c_pset
108
108
  Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-1C Data
109
109
 
110
- imap_lo_l2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo:
110
+ # Global attributes for different sensors and sky tiling types and durations
111
+ imap_lo_l2_enamap:
111
112
  <<: *instrument_base
112
- Data_type: L2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo>Level-2 Low-Energy ENA Maps
113
- Logical_source: imap_lo_l2_l090-ena-h-sf-nsp-ram-hae-6deg-3mo
114
- Logical_source_description: IMAP Mission IMAP-Lo Instrument Level-2 Low-Energy ENA Maps
113
+ Data_type: L2_{descriptor}>Level-2 Intensity Map for Lo
114
+ Logical_source: imap_lo_l2_{descriptor}
115
+ Logical_source_description: IMAP-Lo Instrument Level-2 Intensity Map Data for Lo
@@ -68,28 +68,28 @@ imap_ultra_l1a_90sensor-histogram-ena-extof-hi-ang:
68
68
  Logical_source: imap_ultra_l1a_90sensor-histogram-ena-extof-hi-ang
69
69
  Logical_source_description: IMAP-Ultra Instrument Level-1A ExTOF Hi Angular Data.
70
70
 
71
- imap_ultra_l1a_45sensor-histogram-ena-extof-hi-time:
71
+ imap_ultra_l1a_45sensor-histogram-ion-extof-hi-time:
72
72
  <<: *instrument_base
73
73
  Data_type: L1A_Histogram>Level-1A ExTOF
74
- Logical_source: imap_ultra_l1a_45sensor-histogram-ena-extof-hi-time
74
+ Logical_source: imap_ultra_l1a_45sensor-histogram-ion-extof-hi-time
75
75
  Logical_source_description: IMAP-Ultra Instrument Level-1A ExTOF Hi Time Data.
76
76
 
77
- imap_ultra_l1a_90sensor-histogram-ena-extof-hi-time:
77
+ imap_ultra_l1a_90sensor-histogram-ion-extof-hi-time:
78
78
  <<: *instrument_base
79
79
  Data_type: L1A_Histogram>Level-1A ExTOF
80
- Logical_source: imap_ultra_l1a_90sensor-histogram-ena-extof-hi-time
80
+ Logical_source: imap_ultra_l1a_90sensor-histogram-ion-extof-hi-time
81
81
  Logical_source_description: IMAP-Ultra Instrument Level-1A ExTOF Hi Time Data.
82
82
 
83
- imap_ultra_l1a_45sensor-histogram-ena-extof-hi-nrg:
83
+ imap_ultra_l1a_45sensor-histogram-ion-extof-hi-nrg:
84
84
  <<: *instrument_base
85
85
  Data_type: L1A_Histogram>Level-1A ExTOF
86
- Logical_source: imap_ultra_l1a_45sensor-histogram-ena-extof-hi-nrg
86
+ Logical_source: imap_ultra_l1a_45sensor-histogram-ion-extof-hi-nrg
87
87
  Logical_source_description: IMAP-Ultra Instrument Level-1A ExTOF Hi Energy Data.
88
88
 
89
- imap_ultra_l1a_90sensor-histogram-ena-extof-hi-nrg:
89
+ imap_ultra_l1a_90sensor-histogram-ion-extof-hi-nrg:
90
90
  <<: *instrument_base
91
91
  Data_type: L1A_Histogram>Level-1A ExTOF
92
- Logical_source: imap_ultra_l1a_90sensor-histogram-ena-extof-hi-nrg
92
+ Logical_source: imap_ultra_l1a_90sensor-histogram-ion-extof-hi-nrg
93
93
  Logical_source_description: IMAP-Ultra Instrument Level-1A ExTOF Hi Energy Data.
94
94
 
95
95
  imap_ultra_l1a_45sensor-rates:
@@ -224,17 +224,17 @@ imap_ultra_l1b_90sensor-extendedspin:
224
224
  Logical_source: imap_ultra_l1b_90sensor-extendedspin
225
225
  Logical_source_description: IMAP-Ultra Instrument Level-1B Extended Spin Data.
226
226
 
227
- imap_ultra_l1b_45sensor-cullingmask:
227
+ imap_ultra_l1b_45sensor-goodtimes:
228
228
  <<: *instrument_base
229
- Data_type: L1B_45Sensor-CullingMask>Level-1B Culling Mask for Ultra45
230
- Logical_source: imap_ultra_l1b_45sensor-cullingmask
231
- Logical_source_description: IMAP-Ultra Instrument Level-1B Culling Mask Data.
229
+ Data_type: L1B_45Sensor-Goodtimes>Level-1B Goodtimes for Ultra45
230
+ Logical_source: imap_ultra_l1b_45sensor-goodtimes
231
+ Logical_source_description: IMAP-Ultra Instrument Level-1B Goodtimes Data.
232
232
 
233
- imap_ultra_l1b_90sensor-cullingmask:
233
+ imap_ultra_l1b_90sensor-goodtimes:
234
234
  <<: *instrument_base
235
- Data_type: L1B_90Sensor-CullingMask>Level-1B Culling Mask for Ultra90
236
- Logical_source: imap_ultra_l1b_90sensor-cullingmask
237
- Logical_source_description: IMAP-Ultra Instrument Level-1B Culling Mask Data.
235
+ Data_type: L1B_90Sensor-Goodtimes>Level-1B Goodtimes for Ultra90
236
+ Logical_source: imap_ultra_l1b_90sensor-goodtimes
237
+ Logical_source_description: IMAP-Ultra Instrument Level-1B Goodtimes Data.
238
238
 
239
239
  imap_ultra_l1b_45sensor-badtimes:
240
240
  <<: *instrument_base
@@ -260,6 +260,18 @@ imap_ultra_l1c_90sensor-spacecraftpset:
260
260
  Logical_source: imap_ultra_l1c_90sensor-spacecraftpset
261
261
  Logical_source_description: IMAP-Ultra Instrument Level-1C Spacecraft Pointing Set Grid.
262
262
 
263
+ imap_ultra_l1c_45sensor-spacecraftpset-nonproton:
264
+ <<: *instrument_base
265
+ Data_type: L1C_45Sensor-PSET>Level-1C Pointing Set Grid for Ultra45
266
+ Logical_source: imap_ultra_l1c_45sensor-spacecraftpset-nonproton
267
+ Logical_source_description: IMAP-Ultra Instrument Level-1C Spacecraft Pointing Set Grid for Non-Proton Species.
268
+
269
+ imap_ultra_l1c_90sensor-spacecraftpset-nonproton:
270
+ <<: *instrument_base
271
+ Data_type: L1C_90Sensor-PSET>Level-1C Pointing Set Grid for Ultra90
272
+ Logical_source: imap_ultra_l1c_90sensor-spacecraftpset-nonproton
273
+ Logical_source_description: IMAP-Ultra Instrument Level-1C Spacecraft Pointing Set Grid for Non-Proton Species.
274
+
263
275
  imap_ultra_l1c_45sensor-heliopset:
264
276
  <<: *instrument_base
265
277
  Data_type: L1C_45Sensor-PSET>Level-1C Pointing Set Grid for Ultra45
@@ -72,6 +72,22 @@ default_float64_attrs: &default_float64
72
72
  VALIDMAX: 1.7976931348623157e+308
73
73
  dtype: float64
74
74
 
75
+ computed_ebin:
76
+ <<: *default_uint8
77
+ CATDESC: Computed event bin index
78
+ FIELDNAM: Computed ebin
79
+ LABLAXIS: computed_ebin
80
+ UNITS: " "
81
+ DEPEND_0: epoch
82
+
83
+ ebin:
84
+ <<: *default_uint8
85
+ CATDESC: Event bin index
86
+ FIELDNAM: Ebin
87
+ LABLAXIS: ebin
88
+ UNITS: " "
89
+ DEPEND_0: epoch
90
+
75
91
  x_front:
76
92
  <<: *default_float32
77
93
  CATDESC: x front position
@@ -223,7 +239,7 @@ energy_heliosphere:
223
239
  species:
224
240
  <<: *default_uint8
225
241
  DISPLAY_TYPE: no_plot
226
- CATDESC: Label species type.
242
+ CATDESC: Label species type. Non-proton (heavy ion) = 0, proton = 1, misc = 3
227
243
  FIELDNAM: Label species type.
228
244
  LABLAXIS: species
229
245
  UNITS: " "
@@ -348,8 +364,7 @@ spin_start_time:
348
364
  LABLAXIS: spin start time
349
365
  # TODO: come back to format
350
366
  UNITS: s
351
- DEPEND_0: epoch
352
- DEPEND_1: spin_number
367
+ DEPEND_0: spin_number
353
368
 
354
369
  spin_period:
355
370
  <<: *default
@@ -357,8 +372,7 @@ spin_period:
357
372
  FIELDNAM: spin_period
358
373
  LABLAXIS: spin_period
359
374
  UNITS: s
360
- DEPEND_0: epoch
361
- DEPEND_1: spin_number
375
+ DEPEND_0: spin_number
362
376
 
363
377
  spin_rate:
364
378
  <<: *default
@@ -366,8 +380,7 @@ spin_rate:
366
380
  FIELDNAM: spin_rate
367
381
  LABLAXIS: spin_rate
368
382
  UNITS: rpm
369
- DEPEND_0: epoch
370
- DEPEND_1: spin_number
383
+ DEPEND_0: spin_number
371
384
 
372
385
  rate_start_pulses:
373
386
  <<: *default
@@ -415,9 +428,8 @@ ena_rates:
415
428
  CATDESC: Rates calculated from de packet.
416
429
  FIELDNAM: ena_rates
417
430
  LABLAXIS: ena rates
418
- DEPEND_0: epoch
431
+ DEPEND_0: energy_bin_geometric_mean
419
432
  DEPEND_1: spin_number
420
- DEPEND_2: energy_bin_geometric_mean
421
433
  UNITS: " "
422
434
 
423
435
  start_pulses_per_spin:
@@ -425,8 +437,7 @@ start_pulses_per_spin:
425
437
  CATDESC: Total start pulses per spin.
426
438
  FIELDNAM: start_pulses_per_spin
427
439
  LABLAXIS: start pulses per spin
428
- DEPEND_0: epoch
429
- DEPEND_1: spin_number
440
+ DEPEND_0: spin_number
430
441
  UNITS: " "
431
442
 
432
443
  stop_pulses_per_spin:
@@ -434,8 +445,7 @@ stop_pulses_per_spin:
434
445
  CATDESC: Total start pulses per spin.
435
446
  FIELDNAM: stop_pulses_per_spin
436
447
  LABLAXIS: stop pulses per spin
437
- DEPEND_0: epoch
438
- DEPEND_1: spin_number
448
+ DEPEND_0: spin_number
439
449
  UNITS: " "
440
450
 
441
451
  coin_pulses_per_spin:
@@ -443,8 +453,7 @@ coin_pulses_per_spin:
443
453
  CATDESC: Total coincidence pulses per spin.
444
454
  FIELDNAM: coin_pulses_per_spin
445
455
  LABLAXIS: coin_pulses_per_spin
446
- DEPEND_0: epoch
447
- DEPEND_1: spin_number
456
+ DEPEND_0: spin_number
448
457
  UNITS: " "
449
458
 
450
459
  rejected_events_per_spin:
@@ -452,8 +461,7 @@ rejected_events_per_spin:
452
461
  CATDESC: Rejected events per spin.
453
462
  FIELDNAM: rejected_events_per_spin
454
463
  LABLAXIS: rejected events per spin
455
- DEPEND_0: epoch
456
- DEPEND_1: spin_number
464
+ DEPEND_0: spin_number
457
465
  UNITS: " "
458
466
 
459
467
  ena_rates_threshold:
@@ -461,9 +469,8 @@ ena_rates_threshold:
461
469
  CATDESC: Rates threshold used for flagging data.
462
470
  FIELDNAM: ena_rates_threshold
463
471
  LABLAXIS: ena_rates_threshold
464
- DEPEND_0: epoch
472
+ DEPEND_0: energy_bin_geometric_mean
465
473
  DEPEND_1: spin_number
466
- DEPEND_2: energy_bin_geometric_mean
467
474
  UNITS: " "
468
475
 
469
476
  quality_ena_rates:
@@ -471,9 +478,7 @@ quality_ena_rates:
471
478
  CATDESC: Spin filter derived from Ultra ena rates. Bitwise flagging used to filter the spin.
472
479
  FIELDNAM: quality_ena_rates
473
480
  LABLAXIS: quality_ena_rates
474
- DEPEND_0: epoch
475
- DEPEND_1: spin_number
476
- DEPEND_2: energy_bin_geometric_mean
481
+ DEPEND_0: spin_number
477
482
  UNITS: " "
478
483
 
479
484
  quality_attitude:
@@ -483,9 +488,8 @@ quality_attitude:
483
488
  LABLAXIS: quality attitude
484
489
  # TODO: come back to format
485
490
  UNITS: " "
486
- DEPEND_0: epoch
487
- DEPEND_1: spin_number
488
- DEPEND_2: energy_bin_geometric_mean
491
+ DEPEND_0: spin_number
492
+ DEPEND_1: energy_bin_geometric_mean
489
493
 
490
494
  quality_instruments:
491
495
  <<: *default_uint16
@@ -494,9 +498,8 @@ quality_instruments:
494
498
  LABLAXIS: quality instruments
495
499
  # TODO: come back to format
496
500
  UNITS: " "
497
- DEPEND_0: epoch
498
- DEPEND_1: spin_number
499
- DEPEND_2: energy_bin_geometric_mean
501
+ DEPEND_0: spin_number
502
+ DEPEND_1: energy_bin_geometric_mean
500
503
 
501
504
  quality_hk:
502
505
  <<: *default_uint16
@@ -505,9 +508,8 @@ quality_hk:
505
508
  LABLAXIS: quality hk
506
509
  # TODO: come back to format
507
510
  UNITS: " "
508
- DEPEND_0: epoch
509
- DEPEND_1: spin_number
510
- DEPEND_2: energy_bin_geometric_mean
511
+ DEPEND_0: spin_number
512
+ DEPEND_1: energy_bin_geometric_mean
511
513
 
512
514
  quality_outliers:
513
515
  <<: *default_uint16
@@ -17,6 +17,14 @@ default_float32_attrs: &default_float32
17
17
  VALIDMAX: 3.4028235e+38
18
18
  dtype: float32
19
19
 
20
+ default_uint16_attrs: &default_uint16
21
+ <<: *default
22
+ FILLVAL: 65535
23
+ FORMAT: I5
24
+ VALIDMIN: 0
25
+ VALIDMAX: 65535
26
+ dtype: uint16
27
+
20
28
  energy_dependent_attrs: &energy_dependent
21
29
  <<: *default_float32
22
30
  DEPEND_1: energy_bin_geometric_mean
@@ -68,7 +76,7 @@ geometric_function:
68
76
  CATDESC: The effective sensitive area as a function of theta and phi in instrument frame (energy independent).
69
77
  FIELDNAM: geometric_function
70
78
  LABLAXIS: Geometric Factor
71
- UNITS: " "
79
+ UNITS: cm^2
72
80
  VALIDMIN: 0.0
73
81
 
74
82
  efficiency:
@@ -96,6 +104,27 @@ helio_exposure_factor:
96
104
  # TODO: come back to format
97
105
  UNITS: seconds
98
106
 
107
+ scatter_theta:
108
+ <<: *energy_dependent
109
+ CATDESC: Scattering theta values for a pointing.
110
+ FIELDNAM: scatter_theta
111
+ LABLAXIS: scatter theta
112
+ UNITS: degrees
113
+
114
+ scatter_phi:
115
+ <<: *energy_dependent
116
+ CATDESC: Scattering phi values for a pointing.
117
+ FIELDNAM: scatter_phi
118
+ LABLAXIS: scatter phi
119
+ UNITS: degrees
120
+
121
+ scatter_threshold:
122
+ <<: *energy_dependent
123
+ CATDESC: Scattering threshold values for each energy bin for a pointing.
124
+ FIELDNAM: scatter_threshold
125
+ LABLAXIS: scatter threshold
126
+ UNITS: degrees
127
+
99
128
  counts:
100
129
  <<: *default
101
130
  CATDESC: Counts for a spin.
@@ -106,6 +135,17 @@ counts:
106
135
  # TODO: come back to format
107
136
  UNITS: counts
108
137
 
138
+
139
+ quality_flags:
140
+ <<: *default_uint16
141
+ CATDESC: Spin filter derived from Ultra ena rates. Bitwise flagging used to filter the spin.
142
+ FIELDNAM: quality_ena_rates
143
+ LABLAXIS: quality_ena_rates
144
+ DEPEND_0: epoch
145
+ DEPEND_1: spin_number
146
+ DEPEND_2: energy_bin_geometric_mean
147
+ UNITS: " "
148
+
109
149
  background_rates:
110
150
  <<: *default_float32
111
151
  CATDESC: Background rates. Background dominated by accidentals caused by a combination of UV light and misregistered low energy ENA events.
@@ -137,3 +177,23 @@ energy_bin_delta:
137
177
  FIELDNAM: energy_bin_delta
138
178
  LABLAXIS: energy bin delta
139
179
  UNITS: keV
180
+
181
+ energy_delta_minus:
182
+ <<: *default_float32
183
+ VAR_TYPE: support_data
184
+ CATDESC: Difference between the energy bin center and lower edge.
185
+ LABLAXIS: energy
186
+ UNITS: KeV
187
+ FIELDNAM: energy_bin_delta_minus
188
+ DISPLAY_TYPE: no_plot
189
+ DEPEND_1: energy_bin_geometric_mean
190
+
191
+ energy_delta_plus:
192
+ <<: *default_float32
193
+ VAR_TYPE: support_data
194
+ CATDESC: Difference between the energy bin center and upper edge.
195
+ LABLAXIS: energy
196
+ UNITS: KeV
197
+ FIELDNAM: energy_bin_delta_plus
198
+ DISPLAY_TYPE: no_plot
199
+ DEPEND_1: energy_bin_geometric_mean