imap-processing 0.11.0__py3-none-any.whl → 0.13.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 (415) hide show
  1. imap_processing/__init__.py +11 -11
  2. imap_processing/_version.py +2 -2
  3. imap_processing/ccsds/ccsds_data.py +1 -2
  4. imap_processing/ccsds/excel_to_xtce.py +66 -18
  5. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +24 -40
  6. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +934 -42
  7. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +1846 -128
  8. imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml +0 -5
  9. imap_processing/cdf/config/imap_hi_global_cdf_attrs.yaml +10 -11
  10. imap_processing/cdf/config/imap_hi_variable_attrs.yaml +17 -19
  11. imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +27 -14
  12. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +106 -116
  13. imap_processing/cdf/config/imap_hit_l1b_variable_attrs.yaml +120 -145
  14. imap_processing/cdf/config/imap_hit_l2_variable_attrs.yaml +14 -0
  15. imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml +25 -9
  16. imap_processing/cdf/config/imap_idex_l1a_variable_attrs.yaml +6 -4
  17. imap_processing/cdf/config/imap_idex_l1b_variable_attrs.yaml +3 -3
  18. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +0 -12
  19. imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +1 -1
  20. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +23 -20
  21. imap_processing/cdf/config/imap_mag_l1a_variable_attrs.yaml +361 -0
  22. imap_processing/cdf/config/imap_mag_l1b_variable_attrs.yaml +160 -0
  23. imap_processing/cdf/config/imap_mag_l1c_variable_attrs.yaml +160 -0
  24. imap_processing/cdf/config/imap_spacecraft_global_cdf_attrs.yaml +18 -0
  25. imap_processing/cdf/config/imap_spacecraft_variable_attrs.yaml +40 -0
  26. imap_processing/cdf/config/imap_swapi_global_cdf_attrs.yaml +1 -5
  27. imap_processing/cdf/config/imap_swapi_variable_attrs.yaml +22 -0
  28. imap_processing/cdf/config/imap_swe_global_cdf_attrs.yaml +12 -4
  29. imap_processing/cdf/config/imap_swe_l1a_variable_attrs.yaml +16 -2
  30. imap_processing/cdf/config/imap_swe_l1b_variable_attrs.yaml +64 -52
  31. imap_processing/cdf/config/imap_swe_l2_variable_attrs.yaml +71 -47
  32. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +180 -19
  33. imap_processing/cdf/config/imap_ultra_l1a_variable_attrs.yaml +5045 -41
  34. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +80 -17
  35. imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +32 -57
  36. imap_processing/cdf/utils.py +52 -38
  37. imap_processing/cli.py +477 -233
  38. imap_processing/codice/codice_l1a.py +466 -131
  39. imap_processing/codice/codice_l1b.py +51 -152
  40. imap_processing/codice/constants.py +1360 -569
  41. imap_processing/codice/decompress.py +2 -6
  42. imap_processing/ena_maps/ena_maps.py +1103 -146
  43. imap_processing/ena_maps/utils/coordinates.py +19 -0
  44. imap_processing/ena_maps/utils/map_utils.py +14 -17
  45. imap_processing/ena_maps/utils/spatial_utils.py +55 -52
  46. imap_processing/glows/l1a/glows_l1a.py +28 -99
  47. imap_processing/glows/l1a/glows_l1a_data.py +2 -2
  48. imap_processing/glows/l1b/glows_l1b.py +1 -4
  49. imap_processing/glows/l1b/glows_l1b_data.py +1 -3
  50. imap_processing/glows/l2/glows_l2.py +2 -5
  51. imap_processing/hi/l1a/hi_l1a.py +54 -29
  52. imap_processing/hi/l1a/histogram.py +0 -1
  53. imap_processing/hi/l1a/science_direct_event.py +6 -8
  54. imap_processing/hi/l1b/hi_l1b.py +111 -82
  55. imap_processing/hi/l1c/hi_l1c.py +416 -32
  56. imap_processing/hi/utils.py +58 -12
  57. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-sector-dt0-factors_20250219_v002.csv +81 -0
  58. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-standard-dt0-factors_20250219_v002.csv +205 -0
  59. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-standard-dt1-factors_20250219_v002.csv +205 -0
  60. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-standard-dt2-factors_20250219_v002.csv +205 -0
  61. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-standard-dt3-factors_20250219_v002.csv +205 -0
  62. imap_processing/hit/ancillary/imap_hit_l1b-to-l2-summed-dt0-factors_20250219_v002.csv +68 -0
  63. imap_processing/hit/hit_utils.py +235 -5
  64. imap_processing/hit/l0/constants.py +20 -11
  65. imap_processing/hit/l0/decom_hit.py +21 -5
  66. imap_processing/hit/l1a/hit_l1a.py +71 -75
  67. imap_processing/hit/l1b/constants.py +321 -0
  68. imap_processing/hit/l1b/hit_l1b.py +377 -67
  69. imap_processing/hit/l2/constants.py +318 -0
  70. imap_processing/hit/l2/hit_l2.py +723 -0
  71. imap_processing/hit/packet_definitions/hit_packet_definitions.xml +1323 -71
  72. imap_processing/ialirt/l0/mag_l0_ialirt_data.py +155 -0
  73. imap_processing/ialirt/l0/parse_mag.py +374 -0
  74. imap_processing/ialirt/l0/process_swapi.py +69 -0
  75. imap_processing/ialirt/l0/process_swe.py +548 -0
  76. imap_processing/ialirt/packet_definitions/ialirt.xml +216 -208
  77. imap_processing/ialirt/packet_definitions/ialirt_codicehi.xml +1 -1
  78. imap_processing/ialirt/packet_definitions/ialirt_codicelo.xml +1 -1
  79. imap_processing/ialirt/packet_definitions/ialirt_mag.xml +115 -0
  80. imap_processing/ialirt/packet_definitions/ialirt_swapi.xml +14 -14
  81. imap_processing/ialirt/utils/grouping.py +114 -0
  82. imap_processing/ialirt/utils/time.py +29 -0
  83. imap_processing/idex/atomic_masses.csv +22 -0
  84. imap_processing/idex/decode.py +2 -2
  85. imap_processing/idex/idex_constants.py +33 -0
  86. imap_processing/idex/idex_l0.py +22 -8
  87. imap_processing/idex/idex_l1a.py +81 -51
  88. imap_processing/idex/idex_l1b.py +13 -39
  89. imap_processing/idex/idex_l2a.py +823 -0
  90. imap_processing/idex/idex_l2b.py +120 -0
  91. imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv +11 -11
  92. imap_processing/idex/packet_definitions/idex_housekeeping_packet_definition.xml +9130 -0
  93. imap_processing/lo/l0/lo_science.py +7 -2
  94. imap_processing/lo/l1a/lo_l1a.py +1 -5
  95. imap_processing/lo/l1b/lo_l1b.py +702 -29
  96. imap_processing/lo/l1b/tof_conversions.py +11 -0
  97. imap_processing/lo/l1c/lo_l1c.py +1 -4
  98. imap_processing/mag/constants.py +51 -0
  99. imap_processing/mag/imap_mag_sdc_configuration_v001.py +8 -0
  100. imap_processing/mag/l0/decom_mag.py +10 -3
  101. imap_processing/mag/l1a/mag_l1a.py +23 -19
  102. imap_processing/mag/l1a/mag_l1a_data.py +35 -10
  103. imap_processing/mag/l1b/mag_l1b.py +259 -50
  104. imap_processing/mag/l1c/interpolation_methods.py +388 -0
  105. imap_processing/mag/l1c/mag_l1c.py +621 -17
  106. imap_processing/mag/l2/mag_l2.py +140 -0
  107. imap_processing/mag/l2/mag_l2_data.py +288 -0
  108. imap_processing/quality_flags.py +1 -0
  109. imap_processing/spacecraft/packet_definitions/scid_x252.xml +538 -0
  110. imap_processing/spacecraft/quaternions.py +121 -0
  111. imap_processing/spice/geometry.py +19 -22
  112. imap_processing/spice/kernels.py +0 -276
  113. imap_processing/spice/pointing_frame.py +257 -0
  114. imap_processing/spice/repoint.py +149 -0
  115. imap_processing/spice/spin.py +38 -33
  116. imap_processing/spice/time.py +24 -0
  117. imap_processing/swapi/l1/swapi_l1.py +20 -12
  118. imap_processing/swapi/l2/swapi_l2.py +116 -5
  119. imap_processing/swapi/swapi_utils.py +32 -0
  120. imap_processing/swe/l1a/swe_l1a.py +44 -12
  121. imap_processing/swe/l1a/swe_science.py +13 -13
  122. imap_processing/swe/l1b/swe_l1b.py +898 -23
  123. imap_processing/swe/l2/swe_l2.py +75 -136
  124. imap_processing/swe/packet_definitions/swe_packet_definition.xml +1121 -1
  125. imap_processing/swe/utils/swe_constants.py +64 -0
  126. imap_processing/swe/utils/swe_utils.py +85 -28
  127. imap_processing/tests/ccsds/test_data/expected_output.xml +40 -1
  128. imap_processing/tests/ccsds/test_excel_to_xtce.py +24 -21
  129. imap_processing/tests/cdf/test_data/imap_instrument2_global_cdf_attrs.yaml +0 -2
  130. imap_processing/tests/cdf/test_utils.py +14 -16
  131. imap_processing/tests/codice/conftest.py +44 -33
  132. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-counters-aggregated_20241110193700_v0.0.0.cdf +0 -0
  133. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-counters-singles_20241110193700_v0.0.0.cdf +0 -0
  134. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-ialirt_20241110193700_v0.0.0.cdf +0 -0
  135. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-omni_20241110193700_v0.0.0.cdf +0 -0
  136. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-pha_20241110193700_v0.0.0.cdf +0 -0
  137. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-priorities_20241110193700_v0.0.0.cdf +0 -0
  138. imap_processing/tests/codice/data/validation/imap_codice_l1a_hi-sectored_20241110193700_v0.0.0.cdf +0 -0
  139. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-counters-aggregated_20241110193700_v0.0.0.cdf +0 -0
  140. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-counters-singles_20241110193700_v0.0.0.cdf +0 -0
  141. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-ialirt_20241110193700_v0.0.0.cdf +0 -0
  142. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-angular_20241110193700_v0.0.0.cdf +0 -0
  143. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-priority_20241110193700_v0.0.0.cdf +0 -0
  144. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-nsw-species_20241110193700_v0.0.0.cdf +0 -0
  145. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-pha_20241110193700_v0.0.0.cdf +0 -0
  146. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-angular_20241110193700_v0.0.0.cdf +0 -0
  147. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-priority_20241110193700_v0.0.0.cdf +0 -0
  148. imap_processing/tests/codice/data/validation/imap_codice_l1a_lo-sw-species_20241110193700_v0.0.0.cdf +0 -0
  149. imap_processing/tests/codice/test_codice_l1a.py +126 -53
  150. imap_processing/tests/codice/test_codice_l1b.py +6 -7
  151. imap_processing/tests/codice/test_decompress.py +4 -4
  152. imap_processing/tests/conftest.py +239 -27
  153. imap_processing/tests/ena_maps/conftest.py +51 -0
  154. imap_processing/tests/ena_maps/test_ena_maps.py +1068 -110
  155. imap_processing/tests/ena_maps/test_map_utils.py +66 -43
  156. imap_processing/tests/ena_maps/test_spatial_utils.py +17 -21
  157. imap_processing/tests/glows/conftest.py +10 -14
  158. imap_processing/tests/glows/test_glows_decom.py +4 -4
  159. imap_processing/tests/glows/test_glows_l1a_cdf.py +6 -27
  160. imap_processing/tests/glows/test_glows_l1a_data.py +6 -8
  161. imap_processing/tests/glows/test_glows_l1b.py +11 -11
  162. imap_processing/tests/glows/test_glows_l1b_data.py +5 -5
  163. imap_processing/tests/glows/test_glows_l2.py +2 -8
  164. imap_processing/tests/hi/conftest.py +1 -1
  165. imap_processing/tests/hi/data/l0/H45_diag_fee_20250208.bin +0 -0
  166. imap_processing/tests/hi/data/l0/H45_diag_fee_20250208_verify.csv +205 -0
  167. imap_processing/tests/hi/test_hi_l1b.py +22 -27
  168. imap_processing/tests/hi/test_hi_l1c.py +249 -18
  169. imap_processing/tests/hi/test_l1a.py +35 -7
  170. imap_processing/tests/hi/test_science_direct_event.py +3 -3
  171. imap_processing/tests/hi/test_utils.py +24 -2
  172. imap_processing/tests/hit/helpers/l1_validation.py +74 -73
  173. imap_processing/tests/hit/test_data/hskp_sample.ccsds +0 -0
  174. imap_processing/tests/hit/test_data/imap_hit_l0_raw_20100105_v001.pkts +0 -0
  175. imap_processing/tests/hit/test_decom_hit.py +5 -1
  176. imap_processing/tests/hit/test_hit_l1a.py +32 -36
  177. imap_processing/tests/hit/test_hit_l1b.py +300 -81
  178. imap_processing/tests/hit/test_hit_l2.py +716 -0
  179. imap_processing/tests/hit/test_hit_utils.py +184 -7
  180. imap_processing/tests/hit/validation_data/hit_l1b_standard_sample2_nsrl_v4_3decimals.csv +62 -62
  181. imap_processing/tests/hit/validation_data/hskp_sample_eu_3_6_2025.csv +89 -0
  182. imap_processing/tests/hit/validation_data/hskp_sample_raw.csv +89 -88
  183. imap_processing/tests/hit/validation_data/sci_sample_raw.csv +1 -1
  184. imap_processing/tests/ialirt/data/l0/461971383-404.bin +0 -0
  185. imap_processing/tests/ialirt/data/l0/461971384-405.bin +0 -0
  186. imap_processing/tests/ialirt/data/l0/461971385-406.bin +0 -0
  187. imap_processing/tests/ialirt/data/l0/461971386-407.bin +0 -0
  188. imap_processing/tests/ialirt/data/l0/461971387-408.bin +0 -0
  189. imap_processing/tests/ialirt/data/l0/461971388-409.bin +0 -0
  190. imap_processing/tests/ialirt/data/l0/461971389-410.bin +0 -0
  191. imap_processing/tests/ialirt/data/l0/461971390-411.bin +0 -0
  192. imap_processing/tests/ialirt/data/l0/461971391-412.bin +0 -0
  193. imap_processing/tests/ialirt/data/l0/sample_decoded_i-alirt_data.csv +383 -0
  194. imap_processing/tests/ialirt/unit/test_decom_ialirt.py +16 -81
  195. imap_processing/tests/ialirt/unit/test_grouping.py +81 -0
  196. imap_processing/tests/ialirt/unit/test_parse_mag.py +223 -0
  197. imap_processing/tests/ialirt/unit/test_process_codicehi.py +3 -3
  198. imap_processing/tests/ialirt/unit/test_process_codicelo.py +3 -10
  199. imap_processing/tests/ialirt/unit/test_process_ephemeris.py +4 -4
  200. imap_processing/tests/ialirt/unit/test_process_hit.py +3 -3
  201. imap_processing/tests/ialirt/unit/test_process_swapi.py +24 -16
  202. imap_processing/tests/ialirt/unit/test_process_swe.py +319 -6
  203. imap_processing/tests/ialirt/unit/test_time.py +16 -0
  204. imap_processing/tests/idex/conftest.py +127 -6
  205. imap_processing/tests/idex/test_data/imap_idex_l0_raw_20231218_v001.pkts +0 -0
  206. imap_processing/tests/idex/test_data/imap_idex_l0_raw_20241206_v001.pkts +0 -0
  207. imap_processing/tests/idex/test_data/imap_idex_l0_raw_20250108_v001.pkts +0 -0
  208. imap_processing/tests/idex/test_data/impact_14_tof_high_data.txt +4508 -4508
  209. imap_processing/tests/idex/test_idex_l0.py +33 -11
  210. imap_processing/tests/idex/test_idex_l1a.py +92 -21
  211. imap_processing/tests/idex/test_idex_l1b.py +106 -27
  212. imap_processing/tests/idex/test_idex_l2a.py +399 -0
  213. imap_processing/tests/idex/test_idex_l2b.py +93 -0
  214. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_de_20241022_v002.cdf +0 -0
  215. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_spin_20241022_v002.cdf +0 -0
  216. imap_processing/tests/lo/test_lo_l1a.py +3 -3
  217. imap_processing/tests/lo/test_lo_l1b.py +515 -6
  218. imap_processing/tests/lo/test_lo_l1c.py +1 -1
  219. imap_processing/tests/lo/test_lo_science.py +7 -7
  220. imap_processing/tests/lo/test_star_sensor.py +1 -1
  221. imap_processing/tests/mag/conftest.py +120 -2
  222. imap_processing/tests/mag/test_mag_decom.py +5 -4
  223. imap_processing/tests/mag/test_mag_l1a.py +51 -7
  224. imap_processing/tests/mag/test_mag_l1b.py +40 -59
  225. imap_processing/tests/mag/test_mag_l1c.py +354 -19
  226. imap_processing/tests/mag/test_mag_l2.py +130 -0
  227. imap_processing/tests/mag/test_mag_validation.py +247 -26
  228. imap_processing/tests/mag/validation/L1b/T009/MAGScience-normal-(2,2)-8s-20250204-16h39.csv +17 -0
  229. imap_processing/tests/mag/validation/L1b/T009/mag-l1a-l1b-t009-magi-out.csv +16 -16
  230. imap_processing/tests/mag/validation/L1b/T009/mag-l1a-l1b-t009-mago-out.csv +16 -16
  231. imap_processing/tests/mag/validation/L1b/T010/MAGScience-normal-(2,2)-8s-20250206-12h05.csv +17 -0
  232. imap_processing/tests/mag/validation/L1b/T011/MAGScience-normal-(2,2)-8s-20250204-16h08.csv +17 -0
  233. imap_processing/tests/mag/validation/L1b/T011/mag-l1a-l1b-t011-magi-out.csv +16 -16
  234. imap_processing/tests/mag/validation/L1b/T011/mag-l1a-l1b-t011-mago-out.csv +16 -16
  235. imap_processing/tests/mag/validation/L1b/T012/MAGScience-normal-(2,2)-8s-20250204-16h08.csv +17 -0
  236. imap_processing/tests/mag/validation/L1b/T012/data.bin +0 -0
  237. imap_processing/tests/mag/validation/L1b/T012/field_like_all_ranges.txt +19200 -0
  238. imap_processing/tests/mag/validation/L1b/T012/mag-l1a-l1b-t012-cal.cdf +0 -0
  239. imap_processing/tests/mag/validation/L1b/T012/mag-l1a-l1b-t012-in.csv +17 -0
  240. imap_processing/tests/mag/validation/L1b/T012/mag-l1a-l1b-t012-magi-out.csv +17 -0
  241. imap_processing/tests/mag/validation/L1b/T012/mag-l1a-l1b-t012-mago-out.csv +17 -0
  242. imap_processing/tests/mag/validation/L1c/T013/mag-l1b-l1c-t013-magi-normal-in.csv +1217 -0
  243. imap_processing/tests/mag/validation/L1c/T013/mag-l1b-l1c-t013-magi-normal-out.csv +1857 -0
  244. imap_processing/tests/mag/validation/L1c/T013/mag-l1b-l1c-t013-mago-normal-in.csv +1217 -0
  245. imap_processing/tests/mag/validation/L1c/T013/mag-l1b-l1c-t013-mago-normal-out.csv +1857 -0
  246. imap_processing/tests/mag/validation/L1c/T014/mag-l1b-l1c-t014-magi-normal-in.csv +1217 -0
  247. imap_processing/tests/mag/validation/L1c/T014/mag-l1b-l1c-t014-magi-normal-out.csv +1793 -0
  248. imap_processing/tests/mag/validation/L1c/T014/mag-l1b-l1c-t014-mago-normal-in.csv +1217 -0
  249. imap_processing/tests/mag/validation/L1c/T014/mag-l1b-l1c-t014-mago-normal-out.csv +1793 -0
  250. imap_processing/tests/mag/validation/L1c/T015/mag-l1b-l1c-t015-magi-burst-in.csv +2561 -0
  251. imap_processing/tests/mag/validation/L1c/T015/mag-l1b-l1c-t015-magi-normal-in.csv +961 -0
  252. imap_processing/tests/mag/validation/L1c/T015/mag-l1b-l1c-t015-magi-normal-out.csv +1539 -0
  253. imap_processing/tests/mag/validation/L1c/T015/mag-l1b-l1c-t015-mago-normal-in.csv +1921 -0
  254. imap_processing/tests/mag/validation/L1c/T015/mag-l1b-l1c-t015-mago-normal-out.csv +2499 -0
  255. imap_processing/tests/mag/validation/L1c/T016/mag-l1b-l1c-t016-magi-normal-in.csv +865 -0
  256. imap_processing/tests/mag/validation/L1c/T016/mag-l1b-l1c-t016-magi-normal-out.csv +1196 -0
  257. imap_processing/tests/mag/validation/L1c/T016/mag-l1b-l1c-t016-mago-normal-in.csv +1729 -0
  258. imap_processing/tests/mag/validation/L1c/T016/mag-l1b-l1c-t016-mago-normal-out.csv +3053 -0
  259. imap_processing/tests/mag/validation/L2/imap_mag_l1b_norm-mago_20251017_v002.cdf +0 -0
  260. imap_processing/tests/mag/validation/calibration/imap_mag_l1b-calibration_20240229_v001.cdf +0 -0
  261. imap_processing/tests/mag/validation/calibration/imap_mag_l2-calibration-matrices_20251017_v004.cdf +0 -0
  262. imap_processing/tests/mag/validation/calibration/imap_mag_l2-offsets-norm_20251017_20251017_v001.cdf +0 -0
  263. imap_processing/tests/spacecraft/data/SSR_2024_190_20_08_12_0483851794_2_DA_apid0594_1packet.pkts +0 -0
  264. imap_processing/tests/spacecraft/test_quaternions.py +71 -0
  265. imap_processing/tests/spice/test_data/fake_repoint_data.csv +5 -0
  266. imap_processing/tests/spice/test_data/fake_spin_data.csv +11 -11
  267. imap_processing/tests/spice/test_geometry.py +9 -12
  268. imap_processing/tests/spice/test_kernels.py +1 -200
  269. imap_processing/tests/spice/test_pointing_frame.py +185 -0
  270. imap_processing/tests/spice/test_repoint.py +121 -0
  271. imap_processing/tests/spice/test_spin.py +50 -9
  272. imap_processing/tests/spice/test_time.py +14 -0
  273. imap_processing/tests/swapi/lut/imap_swapi_esa-unit-conversion_20250211_v000.csv +73 -0
  274. imap_processing/tests/swapi/lut/imap_swapi_lut-notes_20250211_v000.csv +1025 -0
  275. imap_processing/tests/swapi/test_swapi_l1.py +13 -11
  276. imap_processing/tests/swapi/test_swapi_l2.py +180 -8
  277. imap_processing/tests/swe/l0_data/2024051010_SWE_HK_packet.bin +0 -0
  278. imap_processing/tests/swe/l0_data/2024051011_SWE_CEM_RAW_packet.bin +0 -0
  279. imap_processing/tests/swe/l0_validation_data/idle_export_eu.SWE_APP_HK_20240510_092742.csv +49 -0
  280. imap_processing/tests/swe/l0_validation_data/idle_export_eu.SWE_CEM_RAW_20240510_092742.csv +593 -0
  281. imap_processing/tests/swe/lut/checker-board-indices.csv +24 -0
  282. imap_processing/tests/swe/lut/imap_swe_esa-lut_20250301_v000.csv +385 -0
  283. imap_processing/tests/swe/lut/imap_swe_l1b-in-flight-cal_20240510_20260716_v000.csv +3 -0
  284. imap_processing/tests/swe/test_swe_l1a.py +20 -2
  285. imap_processing/tests/swe/test_swe_l1a_cem_raw.py +52 -0
  286. imap_processing/tests/swe/test_swe_l1a_hk.py +68 -0
  287. imap_processing/tests/swe/test_swe_l1a_science.py +3 -3
  288. imap_processing/tests/swe/test_swe_l1b.py +162 -24
  289. imap_processing/tests/swe/test_swe_l2.py +153 -91
  290. imap_processing/tests/test_cli.py +171 -88
  291. imap_processing/tests/test_utils.py +140 -17
  292. imap_processing/tests/ultra/data/l0/FM45_UltraFM45_Functional_2024-01-22T0105_20240122T010548.CCSDS +0 -0
  293. imap_processing/tests/ultra/data/l0/ultra45_raw_sc_ultraimgrates_20220530_00.csv +164 -0
  294. imap_processing/tests/ultra/{test_data → data}/l0/ultra45_raw_sc_ultrarawimg_withFSWcalcs_FM45_40P_Phi28p5_BeamCal_LinearScan_phi2850_theta-000_20240207T102740.csv +3243 -3243
  295. imap_processing/tests/ultra/data/mock_data.py +369 -0
  296. imap_processing/tests/ultra/unit/conftest.py +115 -89
  297. imap_processing/tests/ultra/unit/test_badtimes.py +4 -4
  298. imap_processing/tests/ultra/unit/test_cullingmask.py +8 -6
  299. imap_processing/tests/ultra/unit/test_de.py +14 -13
  300. imap_processing/tests/ultra/unit/test_decom_apid_880.py +27 -76
  301. imap_processing/tests/ultra/unit/test_decom_apid_881.py +54 -11
  302. imap_processing/tests/ultra/unit/test_decom_apid_883.py +12 -10
  303. imap_processing/tests/ultra/unit/test_decom_apid_896.py +202 -55
  304. imap_processing/tests/ultra/unit/test_lookup_utils.py +23 -1
  305. imap_processing/tests/ultra/unit/test_spacecraft_pset.py +77 -0
  306. imap_processing/tests/ultra/unit/test_ultra_l1a.py +98 -305
  307. imap_processing/tests/ultra/unit/test_ultra_l1b.py +60 -14
  308. imap_processing/tests/ultra/unit/test_ultra_l1b_annotated.py +2 -2
  309. imap_processing/tests/ultra/unit/test_ultra_l1b_culling.py +26 -27
  310. imap_processing/tests/ultra/unit/test_ultra_l1b_extended.py +239 -70
  311. imap_processing/tests/ultra/unit/test_ultra_l1c.py +5 -5
  312. imap_processing/tests/ultra/unit/test_ultra_l1c_pset_bins.py +114 -83
  313. imap_processing/tests/ultra/unit/test_ultra_l2.py +230 -0
  314. imap_processing/ultra/constants.py +1 -1
  315. imap_processing/ultra/l0/decom_tools.py +27 -39
  316. imap_processing/ultra/l0/decom_ultra.py +168 -204
  317. imap_processing/ultra/l0/ultra_utils.py +152 -136
  318. imap_processing/ultra/l1a/ultra_l1a.py +55 -271
  319. imap_processing/ultra/l1b/badtimes.py +1 -4
  320. imap_processing/ultra/l1b/cullingmask.py +2 -6
  321. imap_processing/ultra/l1b/de.py +116 -57
  322. imap_processing/ultra/l1b/extendedspin.py +20 -18
  323. imap_processing/ultra/l1b/lookup_utils.py +72 -9
  324. imap_processing/ultra/l1b/ultra_l1b.py +36 -16
  325. imap_processing/ultra/l1b/ultra_l1b_culling.py +66 -30
  326. imap_processing/ultra/l1b/ultra_l1b_extended.py +297 -94
  327. imap_processing/ultra/l1c/histogram.py +2 -6
  328. imap_processing/ultra/l1c/spacecraft_pset.py +84 -0
  329. imap_processing/ultra/l1c/ultra_l1c.py +8 -9
  330. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +206 -108
  331. imap_processing/ultra/l2/ultra_l2.py +299 -0
  332. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_LeftSlit.csv +526 -0
  333. imap_processing/ultra/lookup_tables/Angular_Profiles_FM45_RightSlit.csv +526 -0
  334. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_LeftSlit.csv +526 -0
  335. imap_processing/ultra/lookup_tables/Angular_Profiles_FM90_RightSlit.csv +526 -0
  336. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +2 -2
  337. imap_processing/ultra/lookup_tables/FM90_Startup1_ULTRA_IMGPARAMS_20240719.csv +2 -0
  338. imap_processing/ultra/packet_definitions/README.md +38 -0
  339. imap_processing/ultra/packet_definitions/ULTRA_SCI_COMBINED.xml +15302 -482
  340. imap_processing/ultra/utils/ultra_l1_utils.py +31 -12
  341. imap_processing/utils.py +69 -29
  342. {imap_processing-0.11.0.dist-info → imap_processing-0.13.0.dist-info}/METADATA +10 -6
  343. imap_processing-0.13.0.dist-info/RECORD +578 -0
  344. imap_processing/cdf/config/imap_mag_l1_variable_attrs.yaml +0 -237
  345. imap_processing/hi/l1a/housekeeping.py +0 -27
  346. imap_processing/hi/l1b/hi_eng_unit_convert_table.csv +0 -154
  347. imap_processing/swe/l1b/swe_esa_lookup_table.csv +0 -1441
  348. imap_processing/swe/l1b/swe_l1b_science.py +0 -652
  349. imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-aggregated_20240429_v001.cdf +0 -0
  350. imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-singles_20240429_v001.cdf +0 -0
  351. imap_processing/tests/codice/data/imap_codice_l1a_hi-omni_20240429_v001.cdf +0 -0
  352. imap_processing/tests/codice/data/imap_codice_l1a_hi-sectored_20240429_v001.cdf +0 -0
  353. imap_processing/tests/codice/data/imap_codice_l1a_hskp_20100101_v001.cdf +0 -0
  354. imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-aggregated_20240429_v001.cdf +0 -0
  355. imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-singles_20240429_v001.cdf +0 -0
  356. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-angular_20240429_v001.cdf +0 -0
  357. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-priority_20240429_v001.cdf +0 -0
  358. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-species_20240429_v001.cdf +0 -0
  359. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-angular_20240429_v001.cdf +0 -0
  360. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-priority_20240429_v001.cdf +0 -0
  361. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-species_20240429_v001.cdf +0 -0
  362. imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-aggregated_20240429_v001.cdf +0 -0
  363. imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-singles_20240429_v001.cdf +0 -0
  364. imap_processing/tests/codice/data/imap_codice_l1b_hi-omni_20240429_v001.cdf +0 -0
  365. imap_processing/tests/codice/data/imap_codice_l1b_hi-sectored_20240429_v001.cdf +0 -0
  366. imap_processing/tests/codice/data/imap_codice_l1b_hskp_20100101_v001.cdf +0 -0
  367. imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-aggregated_20240429_v001.cdf +0 -0
  368. imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-singles_20240429_v001.cdf +0 -0
  369. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-angular_20240429_v001.cdf +0 -0
  370. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-priority_20240429_v001.cdf +0 -0
  371. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-species_20240429_v001.cdf +0 -0
  372. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-angular_20240429_v001.cdf +0 -0
  373. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-priority_20240429_v001.cdf +0 -0
  374. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-species_20240429_v001.cdf +0 -0
  375. imap_processing/tests/hi/data/l1/imap_hi_l1b_45sensor-de_20250415_v999.cdf +0 -0
  376. imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1251.pkts +0 -0
  377. imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1252.pkts +0 -0
  378. imap_processing/tests/hit/validation_data/hskp_sample_eu.csv +0 -89
  379. imap_processing/tests/hit/validation_data/sci_sample_raw1.csv +0 -29
  380. imap_processing/tests/idex/test_data/imap_idex_l0_raw_20231214_v001.pkts +0 -0
  381. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_de_20100101_v001.cdf +0 -0
  382. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_spin_20100101_v001.cdf +0 -0
  383. imap_processing/tests/swe/test_swe_l1b_science.py +0 -84
  384. imap_processing/tests/ultra/test_data/mock_data.py +0 -161
  385. imap_processing/ultra/l1c/pset.py +0 -40
  386. imap_processing/ultra/lookup_tables/dps_sensitivity45.cdf +0 -0
  387. imap_processing-0.11.0.dist-info/RECORD +0 -488
  388. /imap_processing/idex/packet_definitions/{idex_packet_definition.xml → idex_science_packet_definition.xml} +0 -0
  389. /imap_processing/tests/ialirt/{test_data → data}/l0/20240827095047_SWE_IALIRT_packet.bin +0 -0
  390. /imap_processing/tests/ialirt/{test_data → data}/l0/BinLog CCSDS_FRAG_TLM_20240826_152323Z_IALIRT_data_for_SDC.bin +0 -0
  391. /imap_processing/tests/ialirt/{test_data → data}/l0/IALiRT Raw Packet Telemetry.txt +0 -0
  392. /imap_processing/tests/ialirt/{test_data → data}/l0/apid01152.tlm +0 -0
  393. /imap_processing/tests/ialirt/{test_data → data}/l0/eu_SWP_IAL_20240826_152033.csv +0 -0
  394. /imap_processing/tests/ialirt/{test_data → data}/l0/hi_fsw_view_1_ccsds.bin +0 -0
  395. /imap_processing/tests/ialirt/{test_data → data}/l0/hit_ialirt_sample.ccsds +0 -0
  396. /imap_processing/tests/ialirt/{test_data → data}/l0/hit_ialirt_sample.csv +0 -0
  397. /imap_processing/tests/ialirt/{test_data → data}/l0/idle_export_eu.SWE_IALIRT_20240827_093852.csv +0 -0
  398. /imap_processing/tests/ialirt/{test_data → data}/l0/imap_codice_l1a_hi-ialirt_20240523200000_v0.0.0.cdf +0 -0
  399. /imap_processing/tests/ialirt/{test_data → data}/l0/imap_codice_l1a_lo-ialirt_20241110193700_v0.0.0.cdf +0 -0
  400. /imap_processing/{mag/l1b → tests/spacecraft}/__init__.py +0 -0
  401. /imap_processing/{swe/l1b/engineering_unit_convert_table.csv → tests/swe/lut/imap_swe_eu-conversion_20240510_v000.csv} +0 -0
  402. /imap_processing/tests/ultra/{test_data → data}/l0/FM45_40P_Phi28p5_BeamCal_LinearScan_phi28.50_theta-0.00_20240207T102740.CCSDS +0 -0
  403. /imap_processing/tests/ultra/{test_data → data}/l0/FM45_7P_Phi0.0_BeamCal_LinearScan_phi0.04_theta-0.01_20230821T121304.CCSDS +0 -0
  404. /imap_processing/tests/ultra/{test_data → data}/l0/FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.CCSDS +0 -0
  405. /imap_processing/tests/ultra/{test_data → data}/l0/Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.CCSDS +0 -0
  406. /imap_processing/tests/ultra/{test_data → data}/l0/ultra45_raw_sc_auxdata_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +0 -0
  407. /imap_processing/tests/ultra/{test_data → data}/l0/ultra45_raw_sc_enaphxtofhangimg_FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.csv +0 -0
  408. /imap_processing/tests/ultra/{test_data → data}/l0/ultra45_raw_sc_ultraimgrates_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +0 -0
  409. /imap_processing/tests/ultra/{test_data → data}/l0/ultra45_raw_sc_ultrarawimgevent_FM45_7P_Phi00_BeamCal_LinearScan_phi004_theta-001_20230821T121304.csv +0 -0
  410. /imap_processing/tests/ultra/{test_data → data}/l1/dps_exposure_helio_45_E1.cdf +0 -0
  411. /imap_processing/tests/ultra/{test_data → data}/l1/dps_exposure_helio_45_E12.cdf +0 -0
  412. /imap_processing/tests/ultra/{test_data → data}/l1/dps_exposure_helio_45_E24.cdf +0 -0
  413. {imap_processing-0.11.0.dist-info → imap_processing-0.13.0.dist-info}/LICENSE +0 -0
  414. {imap_processing-0.11.0.dist-info → imap_processing-0.13.0.dist-info}/WHEEL +0 -0
  415. {imap_processing-0.11.0.dist-info → imap_processing-0.13.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,318 @@
1
+ """HIT L2 constants."""
2
+
3
+ from imap_processing import imap_module_directory
4
+
5
+ L2_STANDARD_ANCILLARY_PATH_PREFIX = (
6
+ imap_module_directory / "hit/ancillary/imap_hit_l1b-to-l2-standard-dt"
7
+ )
8
+ L2_SUMMED_ANCILLARY_PATH_PREFIX = (
9
+ imap_module_directory / "hit/ancillary/imap_hit_l1b-to-l2-summed-dt"
10
+ )
11
+ L2_SECTORED_ANCILLARY_PATH_PREFIX = (
12
+ imap_module_directory / "hit/ancillary/imap_hit_l1b-to-l2-sector-dt"
13
+ )
14
+
15
+ # Constants for HIT L2 intensity calculation
16
+ SECONDS_PER_MIN = 60 # seconds per minute
17
+ SECONDS_PER_10_MIN = 600 # seconds per 10 minutes
18
+
19
+ # Fill values for missing data
20
+ FILLVAL_FLOAT32 = -1.00e31
21
+
22
+ # Number of azimuth angles
23
+ N_AZIMUTH = 15
24
+
25
+ # Valid species for HIT L2 standard and summed intensity products
26
+ VALID_SPECIES = [
27
+ "h",
28
+ "he3",
29
+ "he4",
30
+ "he",
31
+ "c",
32
+ "n",
33
+ "o",
34
+ "ne",
35
+ "na",
36
+ "mg",
37
+ "al",
38
+ "si",
39
+ "s",
40
+ "ar",
41
+ "ca",
42
+ "fe",
43
+ "ni",
44
+ ]
45
+
46
+ # Valid species for HIT L2 sectored intensity product
47
+ VALID_SECTORED_SPECIES = ["h", "he4", "cno", "nemgsi", "fe"]
48
+
49
+ # Particle energy range mapping for HIT L2 standard intensity product.
50
+ # The standard intensity calculation requires the L1B foreground rates to
51
+ # be summed by particle type, energy range, and detector penetration range
52
+ # (Range 2, Range 3, and Range 4).
53
+ # See section 7.1.1 and equation 9 in the algorithm document for more details.
54
+
55
+ # The rates to sum are in the L2FGRATES, L3FGRATES, and PENFGRATES data
56
+ # variables in the L1B standard rates product. These variables represent
57
+ # different detector ranges for each particle type and energy range.
58
+
59
+ # Indices at each detector range are provided for each particle type
60
+ # and energy range in the dictionary below and the rates at these indices will be
61
+ # summed in L2 processing to produce the standard intensity product.
62
+ # R2 = Indices for Range 2 (L2FGRATES)
63
+ # R3 = Indices for Range 3 (L3FGRATES)
64
+ # R4 = Indices for Range 4 (PENFGRATES)
65
+ # energy_units: MeV/n
66
+
67
+ STANDARD_PARTICLE_ENERGY_RANGE_MAPPING = {
68
+ "h": [
69
+ {"energy_min": 1.8, "energy_max": 2.2, "R2": [1], "R3": [], "R4": []},
70
+ {"energy_min": 2.2, "energy_max": 2.7, "R2": [2], "R3": [], "R4": []},
71
+ {"energy_min": 2.7, "energy_max": 3.2, "R2": [3], "R3": [], "R4": []},
72
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [4], "R3": [1], "R4": []},
73
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [5], "R3": [2], "R4": []},
74
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [6], "R3": [3], "R4": []},
75
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [7], "R3": [4], "R4": []},
76
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [], "R3": [5], "R4": []},
77
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [6], "R4": []},
78
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [7], "R4": []},
79
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [8], "R4": []},
80
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [9], "R4": [1]},
81
+ ],
82
+ "he3": [
83
+ {"energy_min": 2.2, "energy_max": 2.7, "R2": [10], "R3": [], "R4": []},
84
+ {"energy_min": 2.7, "energy_max": 3.2, "R2": [11], "R3": [], "R4": []},
85
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [12], "R3": [], "R4": []},
86
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [13], "R3": [], "R4": []},
87
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [14], "R3": [12], "R4": []},
88
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [15], "R3": [13], "R4": []},
89
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [16], "R3": [14], "R4": []},
90
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [15], "R4": []},
91
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [16], "R4": []},
92
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [17], "R4": []},
93
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [18], "R4": []},
94
+ ],
95
+ "he4": [
96
+ {"energy_min": 1.8, "energy_max": 2.2, "R2": [19], "R3": [], "R4": []},
97
+ {"energy_min": 2.2, "energy_max": 2.7, "R2": [20], "R3": [], "R4": []},
98
+ {"energy_min": 2.7, "energy_max": 3.2, "R2": [21], "R3": [], "R4": []},
99
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [22], "R3": [21], "R4": []},
100
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [23], "R3": [22], "R4": []},
101
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [24], "R3": [23], "R4": []},
102
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [25], "R3": [24], "R4": []},
103
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [], "R3": [25], "R4": []},
104
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [26], "R4": []},
105
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [27], "R4": []},
106
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [28], "R4": []},
107
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [29], "R4": [4]},
108
+ ],
109
+ "he": [
110
+ {"energy_min": 2.2, "energy_max": 2.7, "R2": [10, 20], "R3": [], "R4": []},
111
+ {"energy_min": 2.7, "energy_max": 3.2, "R2": [11, 21], "R3": [], "R4": []},
112
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [22], "R3": [21], "R4": []},
113
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [23], "R3": [22], "R4": []},
114
+ {
115
+ "energy_min": 4.0,
116
+ "energy_max": 4.5,
117
+ "R2": [14, 24],
118
+ "R3": [12, 23],
119
+ "R4": [],
120
+ },
121
+ {
122
+ "energy_min": 4.5,
123
+ "energy_max": 5.0,
124
+ "R2": [15, 25],
125
+ "R3": [13, 24],
126
+ "R4": [],
127
+ },
128
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [], "R3": [14, 25], "R4": []},
129
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [15, 26], "R4": []},
130
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [16, 27], "R4": []},
131
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [17, 28], "R4": []},
132
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [29], "R4": [4]},
133
+ ],
134
+ "c": [
135
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [28], "R3": [], "R4": []},
136
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [29], "R3": [], "R4": []},
137
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [30], "R3": [], "R4": []},
138
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [31], "R3": [32], "R4": []},
139
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [32], "R3": [33], "R4": []},
140
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [33], "R3": [34], "R4": []},
141
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [34], "R3": [35], "R4": []},
142
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [36], "R4": []},
143
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [37], "R4": []},
144
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [38], "R4": []},
145
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [39], "R4": [7]},
146
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [40], "R4": [8]},
147
+ ],
148
+ "n": [
149
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [37], "R3": [], "R4": []},
150
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [38], "R3": [], "R4": []},
151
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [39], "R3": [], "R4": []},
152
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [40], "R3": [], "R4": []},
153
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [41], "R3": [43], "R4": []},
154
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [42], "R3": [44], "R4": []},
155
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [43], "R3": [45], "R4": []},
156
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [46], "R4": []},
157
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [47], "R4": []},
158
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [48], "R4": []},
159
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [49], "R4": [11]},
160
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [50], "R4": [12]},
161
+ ],
162
+ "o": [
163
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [46], "R3": [], "R4": []},
164
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [47], "R3": [], "R4": []},
165
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [48], "R3": [], "R4": []},
166
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [49], "R3": [], "R4": []},
167
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [50], "R3": [53], "R4": []},
168
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [51], "R3": [54], "R4": []},
169
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [52], "R3": [55], "R4": []},
170
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [56], "R4": []},
171
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [57], "R4": []},
172
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [58], "R4": []},
173
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [59], "R4": []},
174
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [60], "R4": [15]},
175
+ ],
176
+ "ne": [
177
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [55], "R3": [], "R4": []},
178
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [56], "R3": [], "R4": []},
179
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [57], "R3": [], "R4": []},
180
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [58], "R3": [], "R4": []},
181
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [59], "R3": [], "R4": []},
182
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [60], "R3": [63], "R4": []},
183
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [61], "R3": [64], "R4": []},
184
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [65], "R4": []},
185
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [66], "R4": []},
186
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [67], "R4": []},
187
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [68], "R4": []},
188
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [69], "R4": [18]},
189
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [70], "R4": [19]},
190
+ ],
191
+ "na": [
192
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [73], "R4": []},
193
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [74], "R4": []},
194
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [75], "R4": []},
195
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [76], "R4": []},
196
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [77], "R4": []},
197
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [78], "R4": []},
198
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [79], "R4": []},
199
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [80], "R4": []},
200
+ ],
201
+ "mg": [
202
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [65], "R3": [], "R4": []},
203
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [66], "R3": [], "R4": []},
204
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [67], "R3": [], "R4": []},
205
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [68], "R3": [], "R4": []},
206
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [69], "R3": [], "R4": []},
207
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [70], "R3": [83], "R4": []},
208
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [71], "R3": [84], "R4": []},
209
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [72], "R3": [85], "R4": []},
210
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [73], "R3": [86], "R4": []},
211
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [87], "R4": []},
212
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [88], "R4": []},
213
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [89], "R4": []},
214
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [90], "R4": [22]},
215
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [], "R4": [23]},
216
+ ],
217
+ "al": [
218
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [], "R3": [94], "R4": []},
219
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [95], "R4": []},
220
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [96], "R4": []},
221
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [97], "R4": []},
222
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [98], "R4": []},
223
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [99], "R4": []},
224
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [100], "R4": []},
225
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [101], "R4": []},
226
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [102], "R4": []},
227
+ ],
228
+ "si": [
229
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [76], "R3": [], "R4": []},
230
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [77], "R3": [], "R4": []},
231
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [78], "R3": [], "R4": []},
232
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [79], "R3": [], "R4": []},
233
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [80], "R3": [], "R4": []},
234
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [81], "R3": [105], "R4": []},
235
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [82], "R3": [106], "R4": []},
236
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [83], "R3": [107], "R4": []},
237
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [84], "R3": [108], "R4": []},
238
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [109], "R4": []},
239
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [110], "R4": []},
240
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [111], "R4": []},
241
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [112], "R4": [26]},
242
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [113], "R4": [27]},
243
+ ],
244
+ "s": [
245
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [87], "R3": [], "R4": []},
246
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [88], "R3": [], "R4": []},
247
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [89], "R3": [], "R4": []},
248
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [90], "R3": [], "R4": []},
249
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [91], "R3": [116], "R4": []},
250
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [92], "R3": [117], "R4": []},
251
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [93], "R3": [118], "R4": []},
252
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [94], "R3": [119], "R4": []},
253
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [120], "R4": []},
254
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [121], "R4": []},
255
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [122], "R4": []},
256
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [123], "R4": []},
257
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [124], "R4": []},
258
+ ],
259
+ "ar": [
260
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [97], "R3": [], "R4": []},
261
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [98], "R3": [], "R4": []},
262
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [99], "R3": [], "R4": []},
263
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [100], "R3": [], "R4": []},
264
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [101], "R3": [127], "R4": []},
265
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [102], "R3": [128], "R4": []},
266
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [103], "R3": [129], "R4": []},
267
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [104], "R3": [130], "R4": []},
268
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [105], "R3": [131], "R4": []},
269
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [132], "R4": []},
270
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [133], "R4": []},
271
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [134], "R4": []},
272
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [135], "R4": []},
273
+ ],
274
+ "ca": [
275
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [108], "R3": [], "R4": []},
276
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [109], "R3": [], "R4": []},
277
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [110], "R3": [], "R4": []},
278
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [111], "R3": [], "R4": []},
279
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [112], "R3": [], "R4": []},
280
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [113], "R3": [138], "R4": []},
281
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [114], "R3": [139], "R4": []},
282
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [115], "R3": [140], "R4": []},
283
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [116], "R3": [141], "R4": []},
284
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [142], "R4": []},
285
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [143], "R4": []},
286
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [144], "R4": []},
287
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [145], "R4": []},
288
+ ],
289
+ "fe": [
290
+ {"energy_min": 2.7, "energy_max": 3.2, "R2": [119], "R3": [], "R4": []},
291
+ {"energy_min": 3.2, "energy_max": 3.6, "R2": [120], "R3": [], "R4": []},
292
+ {"energy_min": 3.6, "energy_max": 4.0, "R2": [121], "R3": [], "R4": []},
293
+ {"energy_min": 4.0, "energy_max": 4.5, "R2": [122], "R3": [], "R4": []},
294
+ {"energy_min": 4.5, "energy_max": 5.0, "R2": [123], "R3": [], "R4": []},
295
+ {"energy_min": 5.0, "energy_max": 6.0, "R2": [124], "R3": [], "R4": []},
296
+ {"energy_min": 6.0, "energy_max": 8.0, "R2": [125], "R3": [], "R4": []},
297
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [126], "R3": [148], "R4": []},
298
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [127], "R3": [149], "R4": []},
299
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [128], "R3": [150], "R4": []},
300
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [129], "R3": [151], "R4": []},
301
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [152], "R4": []},
302
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [153], "R4": []},
303
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [154], "R4": []},
304
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [155], "R4": [30]},
305
+ {"energy_min": 52.0, "energy_max": 70.0, "R2": [], "R3": [156], "R4": [31]},
306
+ ],
307
+ "ni": [
308
+ {"energy_min": 8.0, "energy_max": 10.0, "R2": [], "R3": [158], "R4": []},
309
+ {"energy_min": 10.0, "energy_max": 12.0, "R2": [], "R3": [159], "R4": []},
310
+ {"energy_min": 12.0, "energy_max": 15.0, "R2": [], "R3": [160], "R4": []},
311
+ {"energy_min": 15.0, "energy_max": 21.0, "R2": [], "R3": [161], "R4": []},
312
+ {"energy_min": 21.0, "energy_max": 27.0, "R2": [], "R3": [162], "R4": []},
313
+ {"energy_min": 27.0, "energy_max": 33.0, "R2": [], "R3": [163], "R4": []},
314
+ {"energy_min": 33.0, "energy_max": 40.0, "R2": [], "R3": [164], "R4": []},
315
+ {"energy_min": 40.0, "energy_max": 52.0, "R2": [], "R3": [165], "R4": []},
316
+ {"energy_min": 52.0, "energy_max": 70.0, "R2": [], "R3": [166], "R4": []},
317
+ ],
318
+ }