imap-processing 0.6.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.
Files changed (398) hide show
  1. imap_processing/__init__.py +34 -0
  2. imap_processing/_version.py +3 -0
  3. imap_processing/ccsds/__init__.py +0 -0
  4. imap_processing/ccsds/ccsds_data.py +55 -0
  5. imap_processing/ccsds/excel_to_xtce.py +477 -0
  6. imap_processing/cdf/__init__.py +0 -0
  7. imap_processing/cdf/cdf_attribute_manager.py +322 -0
  8. imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +212 -0
  9. imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +1358 -0
  10. imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +391 -0
  11. imap_processing/cdf/config/imap_constant_attrs.yaml +33 -0
  12. imap_processing/cdf/config/imap_default_global_cdf_attrs.yaml +17 -0
  13. imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml +41 -0
  14. imap_processing/cdf/config/imap_glows_l1a_variable_attrs.yaml +499 -0
  15. imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +334 -0
  16. imap_processing/cdf/config/imap_hi_global_cdf_attrs.yaml +51 -0
  17. imap_processing/cdf/config/imap_hi_variable_attrs.yaml +435 -0
  18. imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +27 -0
  19. imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +493 -0
  20. imap_processing/cdf/config/imap_hit_l1b_variable_attrs.yaml +564 -0
  21. imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml +24 -0
  22. imap_processing/cdf/config/imap_idex_l1a_variable_attrs.yaml +426 -0
  23. imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +90 -0
  24. imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +487 -0
  25. imap_processing/cdf/config/imap_lo_l1b_variable_attrs.yaml +121 -0
  26. imap_processing/cdf/config/imap_lo_l1c_variable_attrs.yaml +179 -0
  27. imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +97 -0
  28. imap_processing/cdf/config/imap_mag_l1_variable_attrs.yaml +201 -0
  29. imap_processing/cdf/config/imap_swapi_global_cdf_attrs.yaml +33 -0
  30. imap_processing/cdf/config/imap_swapi_variable_attrs.yaml +137 -0
  31. imap_processing/cdf/config/imap_swe_global_cdf_attrs.yaml +24 -0
  32. imap_processing/cdf/config/imap_swe_l1a_variable_attrs.yaml +234 -0
  33. imap_processing/cdf/config/imap_swe_l1b_variable_attrs.yaml +273 -0
  34. imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +100 -0
  35. imap_processing/cdf/config/imap_ultra_l1a_variable_attrs.yaml +52 -0
  36. imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +297 -0
  37. imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +121 -0
  38. imap_processing/cdf/config/shared/default_global_cdf_attrs_schema.yaml +246 -0
  39. imap_processing/cdf/config/shared/default_variable_cdf_attrs_schema.yaml +466 -0
  40. imap_processing/cdf/imap_cdf_manager.py +64 -0
  41. imap_processing/cdf/utils.py +147 -0
  42. imap_processing/cli.py +863 -0
  43. imap_processing/codice/__init__.py +1 -0
  44. imap_processing/codice/codice_l0.py +54 -0
  45. imap_processing/codice/codice_l1a.py +558 -0
  46. imap_processing/codice/codice_l1b.py +194 -0
  47. imap_processing/codice/constants.py +986 -0
  48. imap_processing/codice/data/esa_sweep_values.csv +257 -0
  49. imap_processing/codice/data/lo_stepping_values.csv +129 -0
  50. imap_processing/codice/decompress.py +142 -0
  51. imap_processing/codice/packet_definitions/P_COD_NHK.xml +618 -0
  52. imap_processing/codice/packet_definitions/codice_packet_definition.xml +5073 -0
  53. imap_processing/codice/utils.py +95 -0
  54. imap_processing/decom.py +40 -0
  55. imap_processing/glows/__init__.py +1 -0
  56. imap_processing/glows/ancillary/l1b_conversion_table_v001.json +42 -0
  57. imap_processing/glows/l0/__init__.py +0 -0
  58. imap_processing/glows/l0/decom_glows.py +91 -0
  59. imap_processing/glows/l0/glows_l0_data.py +194 -0
  60. imap_processing/glows/l1a/glows_l1a.py +424 -0
  61. imap_processing/glows/l1a/glows_l1a_data.py +555 -0
  62. imap_processing/glows/l1b/glows_l1b.py +270 -0
  63. imap_processing/glows/l1b/glows_l1b_data.py +583 -0
  64. imap_processing/glows/packet_definitions/GLX_COMBINED.xml +254 -0
  65. imap_processing/glows/packet_definitions/P_GLX_TMSCDE.xml +97 -0
  66. imap_processing/glows/packet_definitions/P_GLX_TMSCHIST.xml +215 -0
  67. imap_processing/glows/utils/__init__.py +0 -0
  68. imap_processing/glows/utils/constants.py +105 -0
  69. imap_processing/hi/__init__.py +1 -0
  70. imap_processing/hi/l0/__init__.py +0 -0
  71. imap_processing/hi/l0/decom_hi.py +24 -0
  72. imap_processing/hi/l1a/__init__.py +0 -0
  73. imap_processing/hi/l1a/hi_l1a.py +73 -0
  74. imap_processing/hi/l1a/histogram.py +142 -0
  75. imap_processing/hi/l1a/housekeeping.py +27 -0
  76. imap_processing/hi/l1a/science_direct_event.py +341 -0
  77. imap_processing/hi/l1b/__init__.py +0 -0
  78. imap_processing/hi/l1b/hi_eng_unit_convert_table.csv +154 -0
  79. imap_processing/hi/l1b/hi_l1b.py +127 -0
  80. imap_processing/hi/l1c/__init__.py +0 -0
  81. imap_processing/hi/l1c/hi_l1c.py +228 -0
  82. imap_processing/hi/packet_definitions/__init__.py +0 -0
  83. imap_processing/hi/packet_definitions/hi_packet_definition.xml +482 -0
  84. imap_processing/hi/utils.py +27 -0
  85. imap_processing/hit/__init__.py +1 -0
  86. imap_processing/hit/l0/__init__.py +0 -0
  87. imap_processing/hit/l0/data_classes/housekeeping.py +240 -0
  88. imap_processing/hit/l0/data_classes/science_packet.py +259 -0
  89. imap_processing/hit/l0/decom_hit.py +467 -0
  90. imap_processing/hit/l0/utils/hit_base.py +57 -0
  91. imap_processing/hit/l1a/__init__.py +0 -0
  92. imap_processing/hit/l1a/hit_l1a.py +254 -0
  93. imap_processing/hit/l1b/hit_l1b.py +179 -0
  94. imap_processing/hit/packet_definitions/hit_packet_definitions.xml +1276 -0
  95. imap_processing/ialirt/__init__.py +0 -0
  96. imap_processing/ialirt/l0/__init__.py +0 -0
  97. imap_processing/ialirt/l0/process_hit.py +220 -0
  98. imap_processing/ialirt/packet_definitions/__init__.py +0 -0
  99. imap_processing/ialirt/packet_definitions/ialirt.xml +778 -0
  100. imap_processing/ialirt/packet_definitions/ialirt_hit.xml +186 -0
  101. imap_processing/idex/__init__.py +2 -0
  102. imap_processing/idex/idex_constants.py +27 -0
  103. imap_processing/idex/idex_l0.py +31 -0
  104. imap_processing/idex/idex_l1a.py +631 -0
  105. imap_processing/idex/packet_definitions/idex_packet_definition.xml +3162 -0
  106. imap_processing/lo/__init__.py +1 -0
  107. imap_processing/lo/l0/__init__.py +0 -0
  108. imap_processing/lo/l0/data_classes/science_direct_events.py +215 -0
  109. imap_processing/lo/l0/data_classes/star_sensor.py +98 -0
  110. imap_processing/lo/l0/decompression_tables/12_to_16_bit.csv +4097 -0
  111. imap_processing/lo/l0/decompression_tables/8_to_12_bit.csv +257 -0
  112. imap_processing/lo/l0/decompression_tables/8_to_16_bit.csv +257 -0
  113. imap_processing/lo/l0/decompression_tables/decompression_tables.py +75 -0
  114. imap_processing/lo/l0/lo_apid.py +15 -0
  115. imap_processing/lo/l0/lo_science.py +150 -0
  116. imap_processing/lo/l0/utils/binary_string.py +59 -0
  117. imap_processing/lo/l0/utils/bit_decompression.py +62 -0
  118. imap_processing/lo/l0/utils/lo_base.py +57 -0
  119. imap_processing/lo/l1a/__init__.py +0 -0
  120. imap_processing/lo/l1a/lo_l1a.py +157 -0
  121. imap_processing/lo/l1b/lo_l1b.py +160 -0
  122. imap_processing/lo/l1c/lo_l1c.py +180 -0
  123. imap_processing/lo/packet_definitions/lo_xtce.xml +3541 -0
  124. imap_processing/mag/__init__.py +2 -0
  125. imap_processing/mag/constants.py +108 -0
  126. imap_processing/mag/l0/decom_mag.py +170 -0
  127. imap_processing/mag/l0/mag_l0_data.py +118 -0
  128. imap_processing/mag/l1a/mag_l1a.py +317 -0
  129. imap_processing/mag/l1a/mag_l1a_data.py +1007 -0
  130. imap_processing/mag/l1b/__init__.py +0 -0
  131. imap_processing/mag/l1b/imap_calibration_mag_20240229_v01.cdf +0 -0
  132. imap_processing/mag/l1b/mag_l1b.py +125 -0
  133. imap_processing/mag/l1c/mag_l1c.py +57 -0
  134. imap_processing/mag/packet_definitions/MAG_SCI_COMBINED.xml +235 -0
  135. imap_processing/quality_flags.py +91 -0
  136. imap_processing/spice/__init__.py +1 -0
  137. imap_processing/spice/geometry.py +322 -0
  138. imap_processing/spice/kernels.py +459 -0
  139. imap_processing/spice/time.py +72 -0
  140. imap_processing/swapi/__init__.py +1 -0
  141. imap_processing/swapi/l1/__init__.py +0 -0
  142. imap_processing/swapi/l1/swapi_l1.py +685 -0
  143. imap_processing/swapi/l2/__init__.py +0 -0
  144. imap_processing/swapi/l2/swapi_l2.py +107 -0
  145. imap_processing/swapi/packet_definitions/__init__.py +0 -0
  146. imap_processing/swapi/packet_definitions/swapi_packet_definition.xml +708 -0
  147. imap_processing/swapi/swapi_utils.py +25 -0
  148. imap_processing/swe/__init__.py +1 -0
  149. imap_processing/swe/l1a/__init__.py +0 -0
  150. imap_processing/swe/l1a/swe_l1a.py +48 -0
  151. imap_processing/swe/l1a/swe_science.py +223 -0
  152. imap_processing/swe/l1b/engineering_unit_convert_table.csv +65 -0
  153. imap_processing/swe/l1b/swe_esa_lookup_table.csv +1441 -0
  154. imap_processing/swe/l1b/swe_l1b.py +49 -0
  155. imap_processing/swe/l1b/swe_l1b_science.py +557 -0
  156. imap_processing/swe/packet_definitions/__init__.py +0 -0
  157. imap_processing/swe/packet_definitions/swe_packet_definition.xml +303 -0
  158. imap_processing/swe/utils/__init__.py +0 -0
  159. imap_processing/swe/utils/swe_utils.py +9 -0
  160. imap_processing/tests/__init__.py +0 -0
  161. imap_processing/tests/ccsds/test_data/expected_output.xml +171 -0
  162. imap_processing/tests/ccsds/test_excel_to_xtce.py +285 -0
  163. imap_processing/tests/cdf/__init__.py +0 -0
  164. imap_processing/tests/cdf/imap_default_global_cdf_attrs.yaml +8 -0
  165. imap_processing/tests/cdf/shared/default_global_cdf_attrs_schema.yaml +246 -0
  166. imap_processing/tests/cdf/shared/default_variable_cdf_attrs_schema.yaml +466 -0
  167. imap_processing/tests/cdf/test_cdf_attribute_manager.py +353 -0
  168. imap_processing/tests/cdf/test_data/imap_default_global_test_cdf_attrs.yaml +7 -0
  169. imap_processing/tests/cdf/test_data/imap_instrument1_global_cdf_attrs.yaml +14 -0
  170. imap_processing/tests/cdf/test_data/imap_instrument1_level1_variable_attrs.yaml +23 -0
  171. imap_processing/tests/cdf/test_data/imap_instrument2_global_cdf_attrs.yaml +23 -0
  172. imap_processing/tests/cdf/test_data/imap_instrument2_level2_variable_attrs.yaml +30 -0
  173. imap_processing/tests/cdf/test_data/imap_test_global.yaml +26 -0
  174. imap_processing/tests/cdf/test_data/imap_test_variable.yaml +41 -0
  175. imap_processing/tests/cdf/test_imap_cdf_manager.py +62 -0
  176. imap_processing/tests/cdf/test_utils.py +109 -0
  177. imap_processing/tests/codice/__init__.py +0 -0
  178. imap_processing/tests/codice/conftest.py +56 -0
  179. imap_processing/tests/codice/data/eu_unit_lookup_table.csv +101 -0
  180. imap_processing/tests/codice/data/idle_export_eu.COD_NHK_20230822_122700 2.csv +100 -0
  181. imap_processing/tests/codice/data/idle_export_raw.COD_NHK_20230822_122700.csv +100 -0
  182. imap_processing/tests/codice/data/imap_codice_l0_hi-counters-aggregated_20240429_v001.pkts +0 -0
  183. imap_processing/tests/codice/data/imap_codice_l0_hi-counters-singles_20240429_v001.pkts +0 -0
  184. imap_processing/tests/codice/data/imap_codice_l0_hi-omni_20240429_v001.pkts +0 -0
  185. imap_processing/tests/codice/data/imap_codice_l0_hi-pha_20240429_v001.pkts +0 -0
  186. imap_processing/tests/codice/data/imap_codice_l0_hi-sectored_20240429_v001.pkts +0 -0
  187. imap_processing/tests/codice/data/imap_codice_l0_hskp_20100101_v001.pkts +0 -0
  188. imap_processing/tests/codice/data/imap_codice_l0_lo-counters-aggregated_20240429_v001.pkts +0 -0
  189. imap_processing/tests/codice/data/imap_codice_l0_lo-counters-singles_20240429_v001.pkts +0 -0
  190. imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-angular_20240429_v001.pkts +0 -0
  191. imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-priority_20240429_v001.pkts +0 -0
  192. imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-species_20240429_v001.pkts +0 -0
  193. imap_processing/tests/codice/data/imap_codice_l0_lo-pha_20240429_v001.pkts +0 -0
  194. imap_processing/tests/codice/data/imap_codice_l0_lo-sw-angular_20240429_v001.pkts +0 -0
  195. imap_processing/tests/codice/data/imap_codice_l0_lo-sw-priority_20240429_v001.pkts +0 -0
  196. imap_processing/tests/codice/data/imap_codice_l0_lo-sw-species_20240429_v001.pkts +0 -0
  197. imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-aggregated_20240429_v001.cdf +0 -0
  198. imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-singles_20240429_v001.cdf +0 -0
  199. imap_processing/tests/codice/data/imap_codice_l1a_hi-omni_20240429_v001.cdf +0 -0
  200. imap_processing/tests/codice/data/imap_codice_l1a_hi-sectored_20240429_v001.cdf +0 -0
  201. imap_processing/tests/codice/data/imap_codice_l1a_hskp_20100101_v001.cdf +0 -0
  202. imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-aggregated_20240429_v001.cdf +0 -0
  203. imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-singles_20240429_v001.cdf +0 -0
  204. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-angular_20240429_v001.cdf +0 -0
  205. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-priority_20240429_v001.cdf +0 -0
  206. imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-species_20240429_v001.cdf +0 -0
  207. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-angular_20240429_v001.cdf +0 -0
  208. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-priority_20240429_v001.cdf +0 -0
  209. imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-species_20240429_v001.cdf +0 -0
  210. imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-aggregated_20240429_v001.cdf +0 -0
  211. imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-singles_20240429_v001.cdf +0 -0
  212. imap_processing/tests/codice/data/imap_codice_l1b_hi-omni_20240429_v001.cdf +0 -0
  213. imap_processing/tests/codice/data/imap_codice_l1b_hi-sectored_20240429_v001.cdf +0 -0
  214. imap_processing/tests/codice/data/imap_codice_l1b_hskp_20100101_v001.cdf +0 -0
  215. imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-aggregated_20240429_v001.cdf +0 -0
  216. imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-singles_20240429_v001.cdf +0 -0
  217. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-angular_20240429_v001.cdf +0 -0
  218. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-priority_20240429_v001.cdf +0 -0
  219. imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-species_20240429_v001.cdf +0 -0
  220. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-angular_20240429_v001.cdf +0 -0
  221. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-priority_20240429_v001.cdf +0 -0
  222. imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-species_20240429_v001.cdf +0 -0
  223. imap_processing/tests/codice/test_codice_l0.py +144 -0
  224. imap_processing/tests/codice/test_codice_l1a.py +187 -0
  225. imap_processing/tests/codice/test_codice_l1b.py +60 -0
  226. imap_processing/tests/codice/test_decompress.py +50 -0
  227. imap_processing/tests/conftest.py +372 -0
  228. imap_processing/tests/glows/direct_events_validation_data_l1a.csv +5704 -0
  229. imap_processing/tests/glows/glows_test_packet_20110921_v01.pkts +0 -0
  230. imap_processing/tests/glows/test_glows_decom.py +133 -0
  231. imap_processing/tests/glows/test_glows_l1a_cdf.py +85 -0
  232. imap_processing/tests/glows/test_glows_l1a_data.py +510 -0
  233. imap_processing/tests/glows/test_glows_l1b.py +348 -0
  234. imap_processing/tests/glows/test_glows_l1b_data.py +70 -0
  235. imap_processing/tests/hi/__init__.py +0 -0
  236. imap_processing/tests/hi/conftest.py +133 -0
  237. imap_processing/tests/hi/test_data/l0/20231030_H45_APP_NHK.bin +0 -0
  238. imap_processing/tests/hi/test_data/l0/20231030_H45_APP_NHK.csv +201 -0
  239. imap_processing/tests/hi/test_data/l0/20231030_H45_SCI_CNT.bin +0 -0
  240. imap_processing/tests/hi/test_data/l0/20231030_H45_SCI_DE.bin +0 -0
  241. imap_processing/tests/hi/test_data/l0/README.txt +54 -0
  242. imap_processing/tests/hi/test_decom.py +55 -0
  243. imap_processing/tests/hi/test_hi_l1b.py +31 -0
  244. imap_processing/tests/hi/test_hi_l1c.py +69 -0
  245. imap_processing/tests/hi/test_l1a.py +96 -0
  246. imap_processing/tests/hi/test_l1a_sci_de.py +72 -0
  247. imap_processing/tests/hi/test_utils.py +15 -0
  248. imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1251.pkts +0 -0
  249. imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1252.pkts +0 -0
  250. imap_processing/tests/hit/__init__.py +0 -0
  251. imap_processing/tests/hit/test_data/imap_hit_l0_hk_20100105_v001.pkts +0 -0
  252. imap_processing/tests/hit/test_data/sci_sample.ccsds +0 -0
  253. imap_processing/tests/hit/test_hit_decom.py +230 -0
  254. imap_processing/tests/hit/test_hit_l1a.py +224 -0
  255. imap_processing/tests/hit/test_hit_l1b.py +52 -0
  256. imap_processing/tests/hit/validation_data/hskp_sample_raw.csv +88 -0
  257. imap_processing/tests/ialirt/__init__.py +0 -0
  258. imap_processing/tests/ialirt/test_data/l0/IALiRT Raw Packet Telemetry.txt +33 -0
  259. imap_processing/tests/ialirt/test_data/l0/hit_ialirt_sample.ccsds +0 -0
  260. imap_processing/tests/ialirt/test_data/l0/hit_ialirt_sample.csv +1001 -0
  261. imap_processing/tests/ialirt/unit/__init__.py +0 -0
  262. imap_processing/tests/ialirt/unit/test_decom_ialirt.py +94 -0
  263. imap_processing/tests/ialirt/unit/test_process_hit.py +226 -0
  264. imap_processing/tests/idex/__init__.py +0 -0
  265. imap_processing/tests/idex/conftest.py +22 -0
  266. imap_processing/tests/idex/imap_idex_l0_raw_20230725_v001.pkts +0 -0
  267. imap_processing/tests/idex/impact_14_tof_high_data.txt +8189 -0
  268. imap_processing/tests/idex/test_idex_l0.py +45 -0
  269. imap_processing/tests/idex/test_idex_l1a.py +91 -0
  270. imap_processing/tests/lo/__init__.py +0 -0
  271. imap_processing/tests/lo/test_binary_string.py +21 -0
  272. imap_processing/tests/lo/test_bit_decompression.py +39 -0
  273. imap_processing/tests/lo/test_cdfs/imap_lo_l0_raw_20240627_v001.pkts +0 -0
  274. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_de_20100101_v001.cdf +0 -0
  275. imap_processing/tests/lo/test_cdfs/imap_lo_l1a_spin_20100101_v001.cdf +0 -0
  276. imap_processing/tests/lo/test_cdfs/imap_lo_l1b_de_20100101_v001.cdf +0 -0
  277. imap_processing/tests/lo/test_lo_l1a.py +66 -0
  278. imap_processing/tests/lo/test_lo_l1b.py +74 -0
  279. imap_processing/tests/lo/test_lo_l1c.py +66 -0
  280. imap_processing/tests/lo/test_science_counts.py +41 -0
  281. imap_processing/tests/lo/test_science_direct_events.py +209 -0
  282. imap_processing/tests/lo/test_star_sensor.py +35 -0
  283. imap_processing/tests/mag/imap_mag_l1a_burst-magi_20231025_v001.cdf +0 -0
  284. imap_processing/tests/mag/mag_l0_test_data.pkts +0 -0
  285. imap_processing/tests/mag/mag_l0_test_output.csv +37 -0
  286. imap_processing/tests/mag/mag_l1_test_data.pkts +0 -0
  287. imap_processing/tests/mag/mag_l1a_test_output.csv +97 -0
  288. imap_processing/tests/mag/test_mag_decom.py +117 -0
  289. imap_processing/tests/mag/test_mag_l1a.py +856 -0
  290. imap_processing/tests/mag/test_mag_l1b.py +77 -0
  291. imap_processing/tests/mag/test_mag_l1c.py +40 -0
  292. imap_processing/tests/spice/__init__.py +0 -0
  293. imap_processing/tests/spice/test_data/imap_ena_sim_metakernel.template +4 -0
  294. imap_processing/tests/spice/test_data/imap_science_0001.tf +171 -0
  295. imap_processing/tests/spice/test_data/imap_sclk_0000.tsc +156 -0
  296. imap_processing/tests/spice/test_data/imap_sim_ck_2hr_2secsampling_with_nutation.bc +0 -0
  297. imap_processing/tests/spice/test_data/imap_simple_metakernel.template +3 -0
  298. imap_processing/tests/spice/test_data/imap_spk_demo.bsp +0 -0
  299. imap_processing/tests/spice/test_data/imap_wkcp.tf +1806 -0
  300. imap_processing/tests/spice/test_data/naif0012.tls +150 -0
  301. imap_processing/tests/spice/test_data/sim_1yr_imap_attitude.bc +0 -0
  302. imap_processing/tests/spice/test_data/sim_1yr_imap_pointing_frame.bc +0 -0
  303. imap_processing/tests/spice/test_geometry.py +214 -0
  304. imap_processing/tests/spice/test_kernels.py +272 -0
  305. imap_processing/tests/spice/test_time.py +35 -0
  306. imap_processing/tests/swapi/__init__.py +0 -0
  307. imap_processing/tests/swapi/conftest.py +16 -0
  308. imap_processing/tests/swapi/l0_data/__init__.py +0 -0
  309. imap_processing/tests/swapi/l0_data/imap_swapi_l0_raw_20231012_v001.pkts +0 -0
  310. imap_processing/tests/swapi/l0_validation_data/__init__.py +0 -0
  311. imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_AUT_20231012_125245.csv +124 -0
  312. imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_HK_20231012_125245.csv +98 -0
  313. imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_MG_20231012_125245.csv +9 -0
  314. imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_SCI_20231012_125245.csv +72 -0
  315. imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_AUT_20231012_125245.csv +124 -0
  316. imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_HK_20231012_125245.csv +98 -0
  317. imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_MG_20231012_125245.csv +9 -0
  318. imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_SCI_20231012_125245.csv +72 -0
  319. imap_processing/tests/swapi/test_swapi_decom.py +135 -0
  320. imap_processing/tests/swapi/test_swapi_l1.py +354 -0
  321. imap_processing/tests/swapi/test_swapi_l2.py +21 -0
  322. imap_processing/tests/swe/__init__.py +0 -0
  323. imap_processing/tests/swe/conftest.py +35 -0
  324. imap_processing/tests/swe/decompressed/20230927173238_4th_quarter_decompressed.csv +181 -0
  325. imap_processing/tests/swe/decompressed/20230927173253_1st_quarter_decompressed.csv +181 -0
  326. imap_processing/tests/swe/decompressed/20230927173308_2nd_quarter_decompressed.csv +181 -0
  327. imap_processing/tests/swe/decompressed/20230927173323_3rd_quarter_decompressed.csv +181 -0
  328. imap_processing/tests/swe/l0_data/2024051010_SWE_SCIENCE_packet.bin +0 -0
  329. imap_processing/tests/swe/l0_validation_data/idle_export_eu.SWE_SCIENCE_20240510_092742.csv +544 -0
  330. imap_processing/tests/swe/l0_validation_data/idle_export_raw.SWE_SCIENCE_20240510_092742.csv +363 -0
  331. imap_processing/tests/swe/test_swe_l1a.py +12 -0
  332. imap_processing/tests/swe/test_swe_l1a_science.py +129 -0
  333. imap_processing/tests/swe/test_swe_l1b.py +61 -0
  334. imap_processing/tests/swe/test_swe_l1b_science.py +65 -0
  335. imap_processing/tests/test_cli.py +229 -0
  336. imap_processing/tests/test_decom.py +66 -0
  337. imap_processing/tests/test_quality_flags.py +71 -0
  338. imap_processing/tests/test_utils.py +107 -0
  339. imap_processing/tests/ultra/__init__.py +0 -0
  340. imap_processing/tests/ultra/test_data/l0/FM45_40P_Phi28p5_BeamCal_LinearScan_phi28.50_theta-0.00_20240207T102740.CCSDS +0 -0
  341. imap_processing/tests/ultra/test_data/l0/FM45_7P_Phi0.0_BeamCal_LinearScan_phi0.04_theta-0.01_20230821T121304.CCSDS +0 -0
  342. imap_processing/tests/ultra/test_data/l0/FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.CCSDS +0 -0
  343. imap_processing/tests/ultra/test_data/l0/Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.CCSDS +0 -0
  344. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_auxdata_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +24 -0
  345. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_enaphxtofhangimg_FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.csv +105 -0
  346. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultraimgrates_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +24 -0
  347. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimg_withFSWcalcs_FM45_40P_Phi28p5_BeamCal_LinearScan_phi2850_theta-000_20240207T102740.csv +3314 -0
  348. imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimgevent_FM45_7P_Phi00_BeamCal_LinearScan_phi004_theta-001_20230821T121304.csv +702 -0
  349. imap_processing/tests/ultra/unit/__init__.py +0 -0
  350. imap_processing/tests/ultra/unit/conftest.py +210 -0
  351. imap_processing/tests/ultra/unit/test_decom_apid_880.py +98 -0
  352. imap_processing/tests/ultra/unit/test_decom_apid_881.py +50 -0
  353. imap_processing/tests/ultra/unit/test_decom_apid_883.py +44 -0
  354. imap_processing/tests/ultra/unit/test_decom_apid_896.py +104 -0
  355. imap_processing/tests/ultra/unit/test_lookup_utils.py +68 -0
  356. imap_processing/tests/ultra/unit/test_ultra_l1a.py +338 -0
  357. imap_processing/tests/ultra/unit/test_ultra_l1b.py +122 -0
  358. imap_processing/tests/ultra/unit/test_ultra_l1b_annotated.py +57 -0
  359. imap_processing/tests/ultra/unit/test_ultra_l1b_extended.py +342 -0
  360. imap_processing/tests/ultra/unit/test_ultra_l1c.py +104 -0
  361. imap_processing/tests/ultra/unit/test_ultra_l1c_pset_bins.py +35 -0
  362. imap_processing/ultra/__init__.py +1 -0
  363. imap_processing/ultra/constants.py +60 -0
  364. imap_processing/ultra/l0/__init__.py +0 -0
  365. imap_processing/ultra/l0/decom_tools.py +281 -0
  366. imap_processing/ultra/l0/decom_ultra.py +278 -0
  367. imap_processing/ultra/l0/ultra_utils.py +326 -0
  368. imap_processing/ultra/l1a/__init__.py +0 -0
  369. imap_processing/ultra/l1a/ultra_l1a.py +319 -0
  370. imap_processing/ultra/l1b/badtimes.py +26 -0
  371. imap_processing/ultra/l1b/cullingmask.py +26 -0
  372. imap_processing/ultra/l1b/de.py +59 -0
  373. imap_processing/ultra/l1b/extendedspin.py +45 -0
  374. imap_processing/ultra/l1b/lookup_utils.py +165 -0
  375. imap_processing/ultra/l1b/ultra_l1b.py +65 -0
  376. imap_processing/ultra/l1b/ultra_l1b_annotated.py +54 -0
  377. imap_processing/ultra/l1b/ultra_l1b_extended.py +764 -0
  378. imap_processing/ultra/l1c/histogram.py +36 -0
  379. imap_processing/ultra/l1c/pset.py +36 -0
  380. imap_processing/ultra/l1c/ultra_l1c.py +52 -0
  381. imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +54 -0
  382. imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +32769 -0
  383. imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +2 -0
  384. imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +4097 -0
  385. imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +2050 -0
  386. imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +4097 -0
  387. imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +2050 -0
  388. imap_processing/ultra/lookup_tables/yadjust.csv +257 -0
  389. imap_processing/ultra/packet_definitions/ULTRA_SCI_COMBINED.xml +547 -0
  390. imap_processing/ultra/packet_definitions/__init__.py +0 -0
  391. imap_processing/ultra/utils/__init__.py +0 -0
  392. imap_processing/ultra/utils/ultra_l1_utils.py +50 -0
  393. imap_processing/utils.py +413 -0
  394. imap_processing-0.6.0.dist-info/LICENSE +21 -0
  395. imap_processing-0.6.0.dist-info/METADATA +107 -0
  396. imap_processing-0.6.0.dist-info/RECORD +398 -0
  397. imap_processing-0.6.0.dist-info/WHEEL +4 -0
  398. imap_processing-0.6.0.dist-info/entry_points.txt +4 -0
@@ -0,0 +1,708 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <xtce:SpaceSystem xmlns:xtce="http://www.omg.org/space/xtce" name="P_SWP_HK">
3
+ <xtce:Header date="2023-10" version="1.0" author="IMAP SDC" />
4
+ <xtce:TelemetryMetaData>
5
+ <xtce:ParameterTypeSet>
6
+ <xtce:IntegerParameterType name="UINT1" signed="false">
7
+ <xtce:IntegerDataEncoding sizeInBits="1" encoding="unsigned" />
8
+ </xtce:IntegerParameterType>
9
+ <xtce:IntegerParameterType name="UINT2" signed="false">
10
+ <xtce:IntegerDataEncoding sizeInBits="2" encoding="unsigned" />
11
+ </xtce:IntegerParameterType>
12
+ <xtce:IntegerParameterType name="UINT3" signed="false">
13
+ <xtce:IntegerDataEncoding sizeInBits="3" encoding="unsigned" />
14
+ </xtce:IntegerParameterType>
15
+ <xtce:IntegerParameterType name="UINT4" signed="false">
16
+ <xtce:IntegerDataEncoding sizeInBits="4" encoding="unsigned" />
17
+ </xtce:IntegerParameterType>
18
+ <xtce:IntegerParameterType name="UINT5" signed="false">
19
+ <xtce:IntegerDataEncoding sizeInBits="5" encoding="unsigned" />
20
+ </xtce:IntegerParameterType>
21
+ <xtce:IntegerParameterType name="UINT6" signed="false">
22
+ <xtce:IntegerDataEncoding sizeInBits="6" encoding="unsigned" />
23
+ </xtce:IntegerParameterType>
24
+ <xtce:IntegerParameterType name="UINT8" signed="false">
25
+ <xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned" />
26
+ </xtce:IntegerParameterType>
27
+ <xtce:IntegerParameterType name="UINT9" signed="false">
28
+ <xtce:IntegerDataEncoding sizeInBits="9" encoding="unsigned" />
29
+ </xtce:IntegerParameterType>
30
+ <xtce:IntegerParameterType name="UINT11" signed="false">
31
+ <xtce:IntegerDataEncoding sizeInBits="11" encoding="unsigned" />
32
+ </xtce:IntegerParameterType>
33
+ <xtce:IntegerParameterType name="INT12" signed="true">
34
+ <xtce:IntegerDataEncoding sizeInBits="12" encoding="signed" />
35
+ </xtce:IntegerParameterType>
36
+ <xtce:IntegerParameterType name="UINT12" signed="false">
37
+ <xtce:IntegerDataEncoding sizeInBits="12" encoding="unsigned" />
38
+ </xtce:IntegerParameterType>
39
+ <xtce:IntegerParameterType name="UINT13" signed="false">
40
+ <xtce:IntegerDataEncoding sizeInBits="13" encoding="unsigned" />
41
+ </xtce:IntegerParameterType>
42
+ <xtce:IntegerParameterType name="UINT14" signed="false">
43
+ <xtce:IntegerDataEncoding sizeInBits="14" encoding="unsigned" />
44
+ </xtce:IntegerParameterType>
45
+ <xtce:IntegerParameterType name="UINT16" signed="false">
46
+ <xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" />
47
+ </xtce:IntegerParameterType>
48
+ <xtce:IntegerParameterType name="UINT32" signed="false">
49
+ <xtce:IntegerDataEncoding sizeInBits="32" encoding="unsigned" />
50
+ </xtce:IntegerParameterType>
51
+ <xtce:EnumeratedParameterType name="MODE_ENUM" signed="false">
52
+ <xtce:IntegerDataEncoding sizeInBits="2" encoding="unsigned"/>
53
+ <xtce:EnumerationList>
54
+ <xtce:Enumeration label="LVENG" value="0"/>
55
+ <xtce:Enumeration label="LVSCI" value="1"/>
56
+ <xtce:Enumeration label="HVENG" value="2"/>
57
+ <xtce:Enumeration label="HVSCI" value="3"/>
58
+ </xtce:EnumerationList>
59
+ </xtce:EnumeratedParameterType>
60
+ <xtce:EnumeratedParameterType name="COMPRESSION_ENUM" signed="false">
61
+ <xtce:IntegerDataEncoding sizeInBits="1" encoding="unsigned"/>
62
+ <xtce:EnumerationList>
63
+ <xtce:Enumeration label="RAW" value="0"/>
64
+ <xtce:Enumeration label="COMP" value="1"/>
65
+ </xtce:EnumerationList>
66
+ </xtce:EnumeratedParameterType>
67
+ </xtce:ParameterTypeSet>
68
+ <xtce:ParameterSet>
69
+ <xtce:Parameter name="VERSION" parameterTypeRef="UINT3">
70
+ <xtce:LongDescription>CCSDS Packet Version Number (always 0)</xtce:LongDescription>
71
+ </xtce:Parameter>
72
+ <xtce:Parameter name="TYPE" parameterTypeRef="UINT1">
73
+ <xtce:LongDescription>CCSDS Packet Type Indicator (0=telemetry)</xtce:LongDescription>
74
+ </xtce:Parameter>
75
+ <xtce:Parameter name="SEC_HDR_FLG" parameterTypeRef="UINT1">
76
+ <xtce:LongDescription>CCSDS Packet Secondary Header Flag (always 1)</xtce:LongDescription>
77
+ </xtce:Parameter>
78
+ <xtce:Parameter name="PKT_APID" parameterTypeRef="UINT11">
79
+ <xtce:LongDescription>CCSDS Packet Application Process ID</xtce:LongDescription>
80
+ </xtce:Parameter>
81
+ <xtce:Parameter name="SEQ_FLGS" parameterTypeRef="UINT2">
82
+ <xtce:LongDescription>CCSDS Packet Grouping Flags (3=not part of group)</xtce:LongDescription>
83
+ </xtce:Parameter>
84
+ <xtce:Parameter name="SRC_SEQ_CTR" parameterTypeRef="UINT14">
85
+ <xtce:LongDescription>CCSDS Packet Sequence Count (increments with each new packet)</xtce:LongDescription>
86
+ </xtce:Parameter>
87
+ <xtce:Parameter name="PKT_LEN" parameterTypeRef="UINT16">
88
+ <xtce:LongDescription>CCSDS Packet Length (number of bytes after Packet length minus 1)</xtce:LongDescription>
89
+ </xtce:Parameter>
90
+ <xtce:Parameter name="SHCOARSE" parameterTypeRef="UINT32">
91
+ <xtce:LongDescription>CCSDS Packet Time (SCLK) at which C&amp;DH software created packet)</xtce:LongDescription>
92
+ </xtce:Parameter>
93
+ <!-- Common Parameter -->
94
+ <xtce:Parameter name="MODE" parameterTypeRef="MODE_ENUM">
95
+ <xtce:LongDescription>LVENG, LVSCI, HVENG or HVSCI</xtce:LongDescription>
96
+ </xtce:Parameter>
97
+ <xtce:Parameter name="SPARE_1" parameterTypeRef="UINT2">
98
+ <xtce:LongDescription>Spare</xtce:LongDescription>
99
+ </xtce:Parameter>
100
+ <!-- Common Parameter -->
101
+ <!-- SWP_SCIENCE Parameter start -->
102
+ <xtce:Parameter name="SEQ_NUMBER" parameterTypeRef="UINT4">
103
+ <xtce:LongDescription>Sequence number of set of steps in energy sweep</xtce:LongDescription>
104
+ </xtce:Parameter>
105
+ <xtce:Parameter name="SWEEP_TABLE" parameterTypeRef="UINT4">
106
+ <xtce:LongDescription>Sweep ID</xtce:LongDescription>
107
+ </xtce:Parameter>
108
+ <xtce:Parameter name="PLAN_ID_SCIENCE" parameterTypeRef="UINT4">
109
+ <xtce:LongDescription>Plan ID</xtce:LongDescription>
110
+ </xtce:Parameter>
111
+ <xtce:Parameter name="ESA_LVL5" parameterTypeRef="UINT13">
112
+ <xtce:LongDescription>ESA level during sixth 1/6 second</xtce:LongDescription>
113
+ </xtce:Parameter>
114
+ <xtce:Parameter name="SPARE_2_SCIENCE" parameterTypeRef="UINT9">
115
+ <xtce:LongDescription>Spare</xtce:LongDescription>
116
+ </xtce:Parameter>
117
+ <xtce:Parameter name="PCEM_RNG_ST0" parameterTypeRef="COMPRESSION_ENUM">
118
+ <xtce:LongDescription>PCEM count range during first 1/6-second: raw or compressed</xtce:LongDescription>
119
+ </xtce:Parameter>
120
+ <xtce:Parameter name="SCEM_RNG_ST0" parameterTypeRef="COMPRESSION_ENUM">
121
+ <xtce:LongDescription>SCEM count range during first 1/6-second: raw or compressed</xtce:LongDescription>
122
+ </xtce:Parameter>
123
+ <xtce:Parameter name="COIN_RNG_ST0" parameterTypeRef="COMPRESSION_ENUM">
124
+ <xtce:LongDescription>Coincidence count range during first 1/6-second: raw or compressed</xtce:LongDescription>
125
+ </xtce:Parameter>
126
+ <xtce:Parameter name="PCEM_RNG_ST1" parameterTypeRef="COMPRESSION_ENUM">
127
+ <xtce:LongDescription>PCEM count range during second 1/6-second: raw or compressed</xtce:LongDescription>
128
+ </xtce:Parameter>
129
+ <xtce:Parameter name="SCEM_RNG_ST1" parameterTypeRef="COMPRESSION_ENUM">
130
+ <xtce:LongDescription>SCEM count range during second 1/6-second: raw or compressed</xtce:LongDescription>
131
+ </xtce:Parameter>
132
+ <xtce:Parameter name="COIN_RNG_ST1" parameterTypeRef="COMPRESSION_ENUM">
133
+ <xtce:LongDescription>Coincidence count range during second 1/6-second: raw or compressed</xtce:LongDescription>
134
+ </xtce:Parameter>
135
+ <xtce:Parameter name="PCEM_RNG_ST2" parameterTypeRef="COMPRESSION_ENUM">
136
+ <xtce:LongDescription>PCEM count range during third 1/6-second: raw or compressed</xtce:LongDescription>
137
+ </xtce:Parameter>
138
+ <xtce:Parameter name="SCEM_RNG_ST2" parameterTypeRef="COMPRESSION_ENUM">
139
+ <xtce:LongDescription>SCEM count range during third 1/6-second: raw or compressed</xtce:LongDescription>
140
+ </xtce:Parameter>
141
+ <xtce:Parameter name="COIN_RNG_ST2" parameterTypeRef="COMPRESSION_ENUM">
142
+ <xtce:LongDescription>Coincidence count range during third 1/6-second: raw or compressed</xtce:LongDescription>
143
+ </xtce:Parameter>
144
+ <xtce:Parameter name="PCEM_RNG_ST3" parameterTypeRef="COMPRESSION_ENUM">
145
+ <xtce:LongDescription>PCEM count range during fourth 1/6-second: raw or compressed</xtce:LongDescription>
146
+ </xtce:Parameter>
147
+ <xtce:Parameter name="SCEM_RNG_ST3" parameterTypeRef="COMPRESSION_ENUM">
148
+ <xtce:LongDescription>SCEM count range during fourth 1/6-second: raw or compressed</xtce:LongDescription>
149
+ </xtce:Parameter>
150
+ <xtce:Parameter name="COIN_RNG_ST3" parameterTypeRef="COMPRESSION_ENUM">
151
+ <xtce:LongDescription>Coincidence count range during fourth 1/6-second: raw or compressed</xtce:LongDescription>
152
+ </xtce:Parameter>
153
+ <xtce:Parameter name="PCEM_RNG_ST4" parameterTypeRef="COMPRESSION_ENUM">
154
+ <xtce:LongDescription>PCEM count range during fifth 1/6-second: raw or compressed</xtce:LongDescription>
155
+ </xtce:Parameter>
156
+ <xtce:Parameter name="SCEM_RNG_ST4" parameterTypeRef="COMPRESSION_ENUM">
157
+ <xtce:LongDescription>SCEM count range during fifth 1/6-second: raw or compressed</xtce:LongDescription>
158
+ </xtce:Parameter>
159
+ <xtce:Parameter name="COIN_RNG_ST4" parameterTypeRef="COMPRESSION_ENUM">
160
+ <xtce:LongDescription>Coincidence count range during fifth 1/6-second: raw or compressed</xtce:LongDescription>
161
+ </xtce:Parameter>
162
+ <xtce:Parameter name="PCEM_RNG_ST5" parameterTypeRef="COMPRESSION_ENUM">
163
+ <xtce:LongDescription>PCEM count range during sixth 1/6-second: raw or compressed</xtce:LongDescription>
164
+ </xtce:Parameter>
165
+ <xtce:Parameter name="SCEM_RNG_ST5" parameterTypeRef="COMPRESSION_ENUM">
166
+ <xtce:LongDescription>SCEM count range during sixth 1/6-second: raw or compressed</xtce:LongDescription>
167
+ </xtce:Parameter>
168
+ <xtce:Parameter name="COIN_RNG_ST5" parameterTypeRef="COMPRESSION_ENUM">
169
+ <xtce:LongDescription>Coincidence count range during sixth 1/6-second: raw or compressed</xtce:LongDescription>
170
+ </xtce:Parameter>
171
+ <xtce:Parameter name="PCEM_CNT0" parameterTypeRef="UINT16">
172
+ <xtce:LongDescription>1st Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
173
+ </xtce:Parameter>
174
+ <xtce:Parameter name="SCEM_CNT0" parameterTypeRef="UINT16">
175
+ <xtce:LongDescription>1st Secondary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
176
+ </xtce:Parameter>
177
+ <xtce:Parameter name="COIN_CNT0" parameterTypeRef="UINT16">
178
+ <xtce:LongDescription>1st Coincidence count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
179
+ </xtce:Parameter>
180
+ <xtce:Parameter name="PCEM_CNT1" parameterTypeRef="UINT16">
181
+ <xtce:LongDescription>2nd Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
182
+ </xtce:Parameter>
183
+ <xtce:Parameter name="SCEM_CNT1" parameterTypeRef="UINT16">
184
+ <xtce:LongDescription>2nd Secondary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
185
+ </xtce:Parameter>
186
+ <xtce:Parameter name="COIN_CNT1" parameterTypeRef="UINT16">
187
+ <xtce:LongDescription>2nd Coincidence count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
188
+ </xtce:Parameter>
189
+ <xtce:Parameter name="PCEM_CNT2" parameterTypeRef="UINT16">
190
+ <xtce:LongDescription>3rd Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
191
+ </xtce:Parameter>
192
+ <xtce:Parameter name="SCEM_CNT2" parameterTypeRef="UINT16">
193
+ <xtce:LongDescription>3rd Secondary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
194
+ </xtce:Parameter>
195
+ <xtce:Parameter name="COIN_CNT2" parameterTypeRef="UINT16">
196
+ <xtce:LongDescription>3rd Coincidence count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
197
+ </xtce:Parameter>
198
+ <xtce:Parameter name="PCEM_CNT3" parameterTypeRef="UINT16">
199
+ <xtce:LongDescription>4th Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
200
+ </xtce:Parameter>
201
+ <xtce:Parameter name="SCEM_CNT3" parameterTypeRef="UINT16">
202
+ <xtce:LongDescription>4th Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
203
+ </xtce:Parameter>
204
+ <xtce:Parameter name="COIN_CNT3" parameterTypeRef="UINT16">
205
+ <xtce:LongDescription>4th Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
206
+ </xtce:Parameter>
207
+ <xtce:Parameter name="PCEM_CNT4" parameterTypeRef="UINT16">
208
+ <xtce:LongDescription>5th Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
209
+ </xtce:Parameter>
210
+ <xtce:Parameter name="SCEM_CNT4" parameterTypeRef="UINT16">
211
+ <xtce:LongDescription>5th Secondary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
212
+ </xtce:Parameter>
213
+ <xtce:Parameter name="COIN_CNT4" parameterTypeRef="UINT16">
214
+ <xtce:LongDescription>5th Coincidence count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
215
+ </xtce:Parameter>
216
+ <xtce:Parameter name="PCEM_CNT5" parameterTypeRef="UINT16">
217
+ <xtce:LongDescription>6th Primary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
218
+ </xtce:Parameter>
219
+ <xtce:Parameter name="SCEM_CNT5" parameterTypeRef="UINT16">
220
+ <xtce:LongDescription>6th Secondary CEM count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
221
+ </xtce:Parameter>
222
+ <xtce:Parameter name="COIN_CNT5" parameterTypeRef="UINT16">
223
+ <xtce:LongDescription>6th Coincidence count: LS 16 bits if RAW, MS 16 bits if compressed</xtce:LongDescription>
224
+ </xtce:Parameter>
225
+ <!-- SWP_SCIENCE Parameter end -->
226
+ <!-- SWP_HK parameter start -->
227
+ <xtce:Parameter name="CMDEXE" parameterTypeRef="UINT8">
228
+ <xtce:LongDescription>Cumulative modulo-256 count of successfully executed commands</xtce:LongDescription>
229
+ </xtce:Parameter>
230
+ <xtce:Parameter name="CMDRJCT" parameterTypeRef="UINT8">
231
+ <xtce:LongDescription>Cumulative modulo-256 count of rejected commands</xtce:LongDescription>
232
+ </xtce:Parameter>
233
+ <xtce:Parameter name="LUT_CHOICE" parameterTypeRef="UINT1">
234
+ <xtce:LongDescription>Which LUT is in use</xtce:LongDescription>
235
+ </xtce:Parameter>
236
+ <xtce:Parameter name="PCEM_SAFE" parameterTypeRef="UINT1">
237
+ <xtce:LongDescription>If the CEM interrupt occurs and dipping the supplies does not help within 3 (TBR) consecutive samples then SWAPI is safed.</xtce:LongDescription>
238
+ </xtce:Parameter>
239
+ <xtce:Parameter name="SCEM_SAFE" parameterTypeRef="UINT1">
240
+ <xtce:LongDescription>If the CEM interrupt occurs and dipping the supplies does not help within 3 (TBR) consecutive samples then SWAPI is safed.</xtce:LongDescription>
241
+ </xtce:Parameter>
242
+ <xtce:Parameter name="WDT_ST" parameterTypeRef="UINT1">
243
+ <xtce:LongDescription>SWAPI has rebooted due to a watchdog expiration.</xtce:LongDescription>
244
+ </xtce:Parameter>
245
+ <xtce:Parameter name="RCV_SAFE_ST" parameterTypeRef="UINT1">
246
+ <xtce:LongDescription>SWAPI has received safe command from S/C</xtce:LongDescription>
247
+ </xtce:Parameter>
248
+ <xtce:Parameter name="SAFE_ST" parameterTypeRef="UINT1">
249
+ <xtce:LongDescription>SWAPI has safed itself. The cause would be due to one of the following status bits.</xtce:LongDescription>
250
+ </xtce:Parameter>
251
+ <xtce:Parameter name="PCEM_RATE_ST" parameterTypeRef="UINT1">
252
+ <xtce:LongDescription>The count rate threshold for the PCEM counter has been exceeded once and has continued to be exceeded despite measures by SWAPIFW. The PCEM count rate threshold defaults to TBD but can be updated with command TBD.</xtce:LongDescription>
253
+ </xtce:Parameter>
254
+ <xtce:Parameter name="SCEM_RATE_ST" parameterTypeRef="UINT1">
255
+ <xtce:LongDescription>The count rate threshold for the SCEM counter has been exceeded once and has continued to be exceeded despite measures by SWAPIFW. The SCEM count rate threshold defaults to TBD but can be updated with command TBD.</xtce:LongDescription>
256
+ </xtce:Parameter>
257
+ <xtce:Parameter name="PCEM_I_ST" parameterTypeRef="UINT1">
258
+ <xtce:LongDescription>The current threshold for the PCEM has been exceeded once and has continued to be exceeded despite measures by SWAPIFW. An overcurrent on the CEM's collectively trips an interrupt which the SWAPIFW handles. The SWAPIFW also collects the PCEM current monitor for comparison at 1 Hz. The CEM current rate threshold defaults to TBD but can be updated with command TBD.</xtce:LongDescription>
259
+ </xtce:Parameter>
260
+ <xtce:Parameter name="SCEM_I_ST" parameterTypeRef="UINT1">
261
+ <xtce:LongDescription>The current threshold for the SCEM has been exceeded once and has continued to be exceeded despite measures by SWAPIFW. An overcurrent on the CEMs collectively trips an interrupt which the SWAPIFW handles. The SWAPIFW also collects the SCEM current monitor for comparison at 1 Hz. The CEM current rate threshold defaults to TBD but can be updated with command TBD.</xtce:LongDescription>
262
+ </xtce:Parameter>
263
+ <xtce:Parameter name="PCEM_V_ST" parameterTypeRef="UINT1">
264
+ <xtce:LongDescription>The voltage tolerance for the PCEM for its current setting has been exceeded. The PCEM voltage tolerance is set by SWAPIFW and cannot be altered by command.</xtce:LongDescription>
265
+ </xtce:Parameter>
266
+ <xtce:Parameter name="SCEM_V_ST" parameterTypeRef="UINT1">
267
+ <xtce:LongDescription>The voltage tolerance for the SCEM for its current setting has been exceeded. The SCEM voltage tolerance is set by SWAPIFW and cannot be altered by command.</xtce:LongDescription>
268
+ </xtce:Parameter>
269
+ <xtce:Parameter name="LVPS_V_ST" parameterTypeRef="UINT1">
270
+ <xtce:LongDescription>The voltage tolerance for +5 V or -5 V supply has been exceeded.</xtce:LongDescription>
271
+ </xtce:Parameter>
272
+ <xtce:Parameter name="LVPS_I_ST" parameterTypeRef="UINT1">
273
+ <xtce:LongDescription>The current tolerance for +5 V or -5 V supply has been exceeded.</xtce:LongDescription>
274
+ </xtce:Parameter>
275
+ <xtce:Parameter name="OVR_T_ST" parameterTypeRef="UINT1">
276
+ <xtce:LongDescription>The upper temperature limit of any one of the thermistors has been exceeded.</xtce:LongDescription>
277
+ </xtce:Parameter>
278
+ <xtce:Parameter name="UND_T_ST" parameterTypeRef="UINT1">
279
+ <xtce:LongDescription>The lower temperature limit of any one of the thermistors has been exceeded. The lower temperature limit is set by SWAPIFW and cannot be altered by command.</xtce:LongDescription>
280
+ </xtce:Parameter>
281
+ <xtce:Parameter name="MEMDP_ST" parameterTypeRef="UINT2">
282
+ <xtce:LongDescription>MEMDP state</xtce:LongDescription>
283
+ </xtce:Parameter>
284
+ <xtce:Parameter name="SENSOR_T" parameterTypeRef="INT12">
285
+ <xtce:LongDescription>Temperature of sensor detector. AD MUX = 0x10</xtce:LongDescription>
286
+ </xtce:Parameter>
287
+ <xtce:Parameter name="HVSUPP_T" parameterTypeRef="INT12">
288
+ <xtce:LongDescription>Temperature of hvps. AD MUX = 0x11</xtce:LongDescription>
289
+ </xtce:Parameter>
290
+ <xtce:Parameter name="CNTRLR_T" parameterTypeRef="INT12">
291
+ <xtce:LongDescription>Temperature of controller. AD MUX = 0x12</xtce:LongDescription>
292
+ </xtce:Parameter>
293
+ <xtce:Parameter name="PCEM_V" parameterTypeRef="INT12">
294
+ <xtce:LongDescription>Volt mon of primary channel electron multiplier high-voltage power supply. AD MUX = 0x02</xtce:LongDescription>
295
+ </xtce:Parameter>
296
+ <xtce:Parameter name="SCEM_V" parameterTypeRef="INT12">
297
+ <xtce:LongDescription>Volt mon of secondary channel electron multiplier high-voltage power supply. AD MUX = 0x03</xtce:LongDescription>
298
+ </xtce:Parameter>
299
+ <xtce:Parameter name="PCEM_I" parameterTypeRef="INT12">
300
+ <xtce:LongDescription>Strip current monitor of primary electron multiplier high-voltage power supply. AD MUX = 0x04</xtce:LongDescription>
301
+ </xtce:Parameter>
302
+ <xtce:Parameter name="SCEM_I" parameterTypeRef="INT12">
303
+ <xtce:LongDescription>Strip current monitor of secondary electron multiplier high-voltage power supply. AD MUX = 0x05</xtce:LongDescription>
304
+ </xtce:Parameter>
305
+ <xtce:Parameter name="P5_V" parameterTypeRef="INT12">
306
+ <xtce:LongDescription>Volt mon of +5 V power supply. AD MUX = 0x0C</xtce:LongDescription>
307
+ </xtce:Parameter>
308
+ <xtce:Parameter name="N5_V" parameterTypeRef="INT12">
309
+ <xtce:LongDescription>Volt mon of -5 V power supply. AD MUX = 0x0D</xtce:LongDescription>
310
+ </xtce:Parameter>
311
+ <xtce:Parameter name="P5_I" parameterTypeRef="INT12">
312
+ <xtce:LongDescription>Current monitor of +5 V power supply. AD MUX = 0x0E</xtce:LongDescription>
313
+ </xtce:Parameter>
314
+ <xtce:Parameter name="N5_I" parameterTypeRef="INT12">
315
+ <xtce:LongDescription>Current monitor of -5 V power supply. AD MUX = 0x0F</xtce:LongDescription>
316
+ </xtce:Parameter>
317
+ <xtce:Parameter name="SWP_REV" parameterTypeRef="UINT8">
318
+ <xtce:LongDescription>Revision number for the SWAPI software</xtce:LongDescription>
319
+ </xtce:Parameter>
320
+ <xtce:Parameter name="LAST_OPCODE" parameterTypeRef="UINT8">
321
+ <xtce:LongDescription>Opcode of last executed command</xtce:LongDescription>
322
+ </xtce:Parameter>
323
+ <xtce:Parameter name="PHD_LLD1_LVL" parameterTypeRef="UINT12">
324
+ <xtce:LongDescription>DAC level of PHD LLD</xtce:LongDescription>
325
+ </xtce:Parameter>
326
+ <xtce:Parameter name="MEMLD_ST" parameterTypeRef="UINT4">
327
+ <xtce:LongDescription>MEMLD state</xtce:LongDescription>
328
+ </xtce:Parameter>
329
+ <xtce:Parameter name="BOOT_ST" parameterTypeRef="UINT1">
330
+ <xtce:LongDescription>Indicates which application is running (Boot or App)</xtce:LongDescription>
331
+ </xtce:Parameter>
332
+ <xtce:Parameter name="ESA_ST" parameterTypeRef="UINT1">
333
+ <xtce:LongDescription>State of ESA Enable</xtce:LongDescription>
334
+ </xtce:Parameter>
335
+ <xtce:Parameter name="PCEM_ST" parameterTypeRef="UINT1">
336
+ <xtce:LongDescription>State of primary channel electron multiplier disable/enable</xtce:LongDescription>
337
+ </xtce:Parameter>
338
+ <xtce:Parameter name="SCEM_ST" parameterTypeRef="UINT1">
339
+ <xtce:LongDescription>State of secondary channel electron disable/enable</xtce:LongDescription>
340
+ </xtce:Parameter>
341
+ <xtce:Parameter name="PCEM_CNT_ST" parameterTypeRef="UINT1">
342
+ <xtce:LongDescription>The PCEM count rate was tripped but handled by SWAPIFW</xtce:LongDescription>
343
+ </xtce:Parameter>
344
+ <xtce:Parameter name="SCEM_CNT_ST" parameterTypeRef="UINT1">
345
+ <xtce:LongDescription>The SCEM count rate was tripped but handled by SWAPIFW</xtce:LongDescription>
346
+ </xtce:Parameter>
347
+ <xtce:Parameter name="PCEM_I_THR" parameterTypeRef="UINT12">
348
+ <xtce:LongDescription>The level at which safety algorithms for the PCEM monitor are tripped due to overcurrent in the PCEM monitor</xtce:LongDescription>
349
+ </xtce:Parameter>
350
+ <xtce:Parameter name="SCEM_I_THR" parameterTypeRef="UINT12">
351
+ <xtce:LongDescription>The level at which safety algorithms for the SCEM monitor are tripped due to overcurrent in the SCEM monitor</xtce:LongDescription>
352
+ </xtce:Parameter>
353
+ <xtce:Parameter name="PCEM_LVL" parameterTypeRef="UINT12">
354
+ <xtce:LongDescription>PCEM DAC level</xtce:LongDescription>
355
+ </xtce:Parameter>
356
+ <xtce:Parameter name="SCEM_LVL" parameterTypeRef="UINT12">
357
+ <xtce:LongDescription>SCEM DAC level</xtce:LongDescription>
358
+ </xtce:Parameter>
359
+ <xtce:Parameter name="AGND_VOLT" parameterTypeRef="INT12">
360
+ <xtce:LongDescription>Volt mon of analog ground.</xtce:LongDescription>
361
+ </xtce:Parameter>
362
+ <xtce:Parameter name="CEM_I" parameterTypeRef="INT12">
363
+ <xtce:LongDescription>The current limit monitor for the PCEM and SCEM at which the SWAPI software brings down the PCEM and SCEM by TBD volts for TBD seconds before they are brought back up.</xtce:LongDescription>
364
+ </xtce:Parameter>
365
+ <xtce:Parameter name="ESA_V" parameterTypeRef="UINT12">
366
+ <xtce:LongDescription>Volt mon of electrostatic analyzer high-voltage power supply.</xtce:LongDescription>
367
+ </xtce:Parameter>
368
+ <xtce:Parameter name="P2_5_V" parameterTypeRef="INT12">
369
+ <xtce:LongDescription>Volt mon of +2.5 V reference.</xtce:LongDescription>
370
+ </xtce:Parameter>
371
+ <xtce:Parameter name="PHD_LLD1_V" parameterTypeRef="INT12">
372
+ <xtce:LongDescription>Volt mon of PHD LLD.</xtce:LongDescription>
373
+ </xtce:Parameter>
374
+ <xtce:Parameter name="SPARE_2_HK" parameterTypeRef="UINT4">
375
+ <xtce:LongDescription>Spare</xtce:LongDescription>
376
+ </xtce:Parameter>
377
+ <xtce:Parameter name="PCEM_RATELIM" parameterTypeRef="UINT16">
378
+ <xtce:LongDescription>The count value at which the primary CEM safety limit is set. If this limit is exceeded twice SWAPI is safed</xtce:LongDescription>
379
+ </xtce:Parameter>
380
+ <xtce:Parameter name="SCEM_RATELIM" parameterTypeRef="UINT16">
381
+ <xtce:LongDescription>The count value at which the secondary CEM safety limit is set. If this limit is exceeded twice SWAPI is safed</xtce:LongDescription>
382
+ </xtce:Parameter>
383
+ <xtce:Parameter name="STIM_EN" parameterTypeRef="UINT1">
384
+ <xtce:LongDescription>State of whether the stim pulsers are enabled or disabled.</xtce:LongDescription>
385
+ </xtce:Parameter>
386
+ <xtce:Parameter name="MISSED_PPS_CNT" parameterTypeRef="UINT2">
387
+ <xtce:LongDescription>Count of missed PPS signals (i.e. a PPS was not received when expected). This is a 2-bit counter that will freeze when it reaches 3. Can be cleared via the CLR_LATCHED command.</xtce:LongDescription>
388
+ </xtce:Parameter>
389
+ <xtce:Parameter name="CEM_INT_LIM" parameterTypeRef="UINT5">
390
+ <xtce:LongDescription>The limit at which the PCEM and SCEM current triggers an interrupt to the SWAPI software.</xtce:LongDescription>
391
+ </xtce:Parameter>
392
+ <xtce:Parameter name="CMD_ECHO_ST" parameterTypeRef="UINT1">
393
+ <xtce:LongDescription>A value that represents whether command echo is enabled or disabled</xtce:LongDescription>
394
+ </xtce:Parameter>
395
+ <xtce:Parameter name="HV_PGSAFE_ST" parameterTypeRef="UINT4">
396
+ <xtce:LongDescription>State of disable/safe/arm plug</xtce:LongDescription>
397
+ </xtce:Parameter>
398
+ <xtce:Parameter name="HV_ARM_ST" parameterTypeRef="UINT3">
399
+ <xtce:LongDescription>State of high-voltage software disable/enable</xtce:LongDescription>
400
+ </xtce:Parameter>
401
+ <xtce:Parameter name="SPARE_3" parameterTypeRef="UINT4">
402
+ <xtce:LongDescription>Spare</xtce:LongDescription>
403
+ </xtce:Parameter>
404
+ <xtce:Parameter name="CEM_INT_DIP" parameterTypeRef="UINT12">
405
+ <xtce:LongDescription>The number of counts to dip the CEM supplies when a CEM current interrupt occurs</xtce:LongDescription>
406
+ </xtce:Parameter>
407
+ <xtce:Parameter name="PLAN_ID_HK" parameterTypeRef="UINT8">
408
+ <xtce:LongDescription>The PLAN ID used for the current science sweeping mode if any.</xtce:LongDescription>
409
+ </xtce:Parameter>
410
+ <xtce:Parameter name="SWEEP_ID" parameterTypeRef="UINT8">
411
+ <xtce:LongDescription>Sweep table ID within the PLAN ID that is being used for the current science sweeping mode.</xtce:LongDescription>
412
+ </xtce:Parameter>
413
+ <xtce:Parameter name="PCEM_V1_ST" parameterTypeRef="UINT1">
414
+ <xtce:LongDescription>If the PCEM voltage is out of tolerance for only 0.5 second this bit is asserted.</xtce:LongDescription>
415
+ </xtce:Parameter>
416
+ <xtce:Parameter name="PCEM_I1_ST" parameterTypeRef="UINT1">
417
+ <xtce:LongDescription>If the PCEM current is out of tolerance for only 0.5 second this bit is asserted.</xtce:LongDescription>
418
+ </xtce:Parameter>
419
+ <xtce:Parameter name="SCEM_V1_ST" parameterTypeRef="UINT1">
420
+ <xtce:LongDescription>If the SCEM voltage is out of tolerance for only 0.5 second this bit is asserted.</xtce:LongDescription>
421
+ </xtce:Parameter>
422
+ <xtce:Parameter name="SCEM_I1_ST" parameterTypeRef="UINT1">
423
+ <xtce:LongDescription>If the SCEM current is out of tolerance for only 0.5 second this bit is asserted.</xtce:LongDescription>
424
+ </xtce:Parameter>
425
+ <xtce:Parameter name="PCEM_INT_ST" parameterTypeRef="UINT1">
426
+ <xtce:LongDescription>The PCEM current interrupt was tripped but handled by SWAPIFW</xtce:LongDescription>
427
+ </xtce:Parameter>
428
+ <xtce:Parameter name="SCEM_INT_ST" parameterTypeRef="UINT1">
429
+ <xtce:LongDescription>The SCEM current interrupt was tripped but handled by SWAPIFW</xtce:LongDescription>
430
+ </xtce:Parameter>
431
+ <xtce:Parameter name="EEP2_RDY" parameterTypeRef="UINT1">
432
+ <xtce:LongDescription>EEPROM 2 is ready to be written</xtce:LongDescription>
433
+ </xtce:Parameter>
434
+ <xtce:Parameter name="EEP1_RDY" parameterTypeRef="UINT1">
435
+ <xtce:LongDescription>EEPROM 1 is ready to be written</xtce:LongDescription>
436
+ </xtce:Parameter>
437
+ <xtce:Parameter name="FPGA_TYPE" parameterTypeRef="UINT4">
438
+ <xtce:LongDescription>Type number of the FPGA</xtce:LongDescription>
439
+ </xtce:Parameter>
440
+ <xtce:Parameter name="FPGA_REV" parameterTypeRef="UINT4">
441
+ <xtce:LongDescription>Revision number of the FPGA</xtce:LongDescription>
442
+ </xtce:Parameter>
443
+ <xtce:Parameter name="IAL_TLM" parameterTypeRef="UINT5">
444
+ <xtce:LongDescription>A value representing how often the I-ALiRT telemetry packet is output.</xtce:LongDescription>
445
+ </xtce:Parameter>
446
+ <xtce:Parameter name="SCI_TLM" parameterTypeRef="UINT5">
447
+ <xtce:LongDescription>A value representing how often all of the 12-second science packets are output.</xtce:LongDescription>
448
+ </xtce:Parameter>
449
+ <xtce:Parameter name="HK_TLM" parameterTypeRef="UINT5">
450
+ <xtce:LongDescription>A value representing a choice for how often the housekeeping packet is output.</xtce:LongDescription>
451
+ </xtce:Parameter>
452
+ <xtce:Parameter name="SPARE_4" parameterTypeRef="UINT1">
453
+ <xtce:LongDescription>Spare</xtce:LongDescription>
454
+ </xtce:Parameter>
455
+ <xtce:Parameter name="FPGA_PUP_ST" parameterTypeRef="UINT1">
456
+ <xtce:LongDescription>A status of the power on check of the FPGA initialization check - need to fix or make Spare</xtce:LongDescription>
457
+ </xtce:Parameter>
458
+ <xtce:Parameter name="EEPL2_CKS_ST" parameterTypeRef="UINT1">
459
+ <xtce:LongDescription>A status of the power on check of the EEP_L2 checksum compared against a stored checksum</xtce:LongDescription>
460
+ </xtce:Parameter>
461
+ <xtce:Parameter name="EEPL1_CKS_ST" parameterTypeRef="UINT1">
462
+ <xtce:LongDescription>A status of the power on check of EEP_L1 checksum compared against a stored checksum</xtce:LongDescription>
463
+ </xtce:Parameter>
464
+ <xtce:Parameter name="RAM_D_ST" parameterTypeRef="UINT1">
465
+ <xtce:LongDescription>A status of the power on check of the RAM_D memory test</xtce:LongDescription>
466
+ </xtce:Parameter>
467
+ <xtce:Parameter name="EEPC2_CKS_ST" parameterTypeRef="UINT1">
468
+ <xtce:LongDescription>A status of the power on check of the EEP_C2 checksum compared against a stored checksum</xtce:LongDescription>
469
+ </xtce:Parameter>
470
+ <xtce:Parameter name="EEPC1_CKS_ST" parameterTypeRef="UINT1">
471
+ <xtce:LongDescription>A status of the power on check of the EEP_C1 checksum compared against a stored checksum</xtce:LongDescription>
472
+ </xtce:Parameter>
473
+ <xtce:Parameter name="RAM_C_ST" parameterTypeRef="UINT1">
474
+ <xtce:LongDescription>A status of the power on check of the RAM_C memory test</xtce:LongDescription>
475
+ </xtce:Parameter>
476
+ <xtce:Parameter name="PROM_CKS_ST" parameterTypeRef="UINT1">
477
+ <xtce:LongDescription>A status of the power on check of the PROM checksum compared against a stored checksum</xtce:LongDescription>
478
+ </xtce:Parameter>
479
+ <xtce:Parameter name="LUT_REV" parameterTypeRef="UINT8">
480
+ <xtce:ShortDescription>Lookup table version</xtce:ShortDescription>
481
+ <xtce:LongDescription>Lookup table version</xtce:LongDescription>
482
+ </xtce:Parameter>
483
+ <xtce:Parameter name="P2V5D" parameterTypeRef="INT12">
484
+ <xtce:LongDescription>2.5V Regulator for FPVA Core</xtce:LongDescription>
485
+ </xtce:Parameter>
486
+ <xtce:Parameter name="P3V3_V_MON" parameterTypeRef="INT12">
487
+ <xtce:LongDescription>3.3V Regulator for LVDS TX/RX</xtce:LongDescription>
488
+ </xtce:Parameter>
489
+ <xtce:Parameter name="P_CEM_CMD_LVL_MON" parameterTypeRef="INT12">
490
+ <xtce:LongDescription>PCEM Voltage Level Command</xtce:LongDescription>
491
+ </xtce:Parameter>
492
+ <xtce:Parameter name="S_CEM_CMD_LVL_MON" parameterTypeRef="INT12">
493
+ <xtce:LongDescription>SCEM Voltage Level Command</xtce:LongDescription>
494
+ </xtce:Parameter>
495
+ <xtce:Parameter name="ESA_CMD_LVL_MON" parameterTypeRef="INT12">
496
+ <xtce:LongDescription>ESA Voltage Level Command</xtce:LongDescription>
497
+ </xtce:Parameter>
498
+ <xtce:Parameter name="PHD_LLD2_V" parameterTypeRef="INT12">
499
+ <xtce:LongDescription>SCEM LLD Threshold</xtce:LongDescription>
500
+ </xtce:Parameter>
501
+ <xtce:Parameter name="SPARE_5" parameterTypeRef="UINT4">
502
+ <xtce:LongDescription>Spare</xtce:LongDescription>
503
+ </xtce:Parameter>
504
+ <xtce:Parameter name="PHD_LLD2_LVL" parameterTypeRef="UINT12">
505
+ <xtce:LongDescription>DAC level of PHD LLD 2</xtce:LongDescription>
506
+ </xtce:Parameter>
507
+ <!-- SWP_HK Parameter End -->
508
+ <!-- SWP_AUT Parameter Start -->
509
+ <xtce:Parameter name="SPARE_1_AUT" parameterTypeRef="UINT6">
510
+ <xtce:LongDescription>DAC level of PHD LLD 2</xtce:LongDescription>
511
+ </xtce:Parameter>
512
+ <xtce:Parameter name="POWER_REQUEST" parameterTypeRef="UINT2">
513
+ <xtce:LongDescription>DAC level of PHD LLD 2</xtce:LongDescription>
514
+ </xtce:Parameter>
515
+ <!-- SWP_AUT Paramter End -->
516
+ <xtce:Parameter name="CHKSUM" parameterTypeRef="UINT8">
517
+ <xtce:ShortDescription>Packet checksum</xtce:ShortDescription>
518
+ <xtce:LongDescription>XOR checksum starting with beginning of CCSDS header to the byte prior to this field</xtce:LongDescription>
519
+ </xtce:Parameter>
520
+ </xtce:ParameterSet>
521
+ <xtce:ContainerSet>
522
+ <xtce:SequenceContainer name="CCSDSPacket">
523
+ <xtce:EntryList>
524
+ <xtce:ParameterRefEntry parameterRef="VERSION" />
525
+ <xtce:ParameterRefEntry parameterRef="TYPE" />
526
+ <xtce:ParameterRefEntry parameterRef="SEC_HDR_FLG" />
527
+ <xtce:ParameterRefEntry parameterRef="PKT_APID" />
528
+ <xtce:ParameterRefEntry parameterRef="SEQ_FLGS" />
529
+ <xtce:ParameterRefEntry parameterRef="SRC_SEQ_CTR" />
530
+ <xtce:ParameterRefEntry parameterRef="PKT_LEN" />
531
+ </xtce:EntryList>
532
+ </xtce:SequenceContainer>
533
+ <xtce:SequenceContainer name="P_SWP_SCI">
534
+ <xtce:BaseContainer containerRef="CCSDSPacket">
535
+ <xtce:RestrictionCriteria>
536
+ <xtce:Comparison parameterRef="PKT_APID" value="1188" useCalibratedValue="false" />
537
+ </xtce:RestrictionCriteria>
538
+ </xtce:BaseContainer>
539
+ <xtce:EntryList>
540
+ <xtce:ParameterRefEntry parameterRef="SHCOARSE" />
541
+ <xtce:ParameterRefEntry parameterRef="SEQ_NUMBER" />
542
+ <xtce:ParameterRefEntry parameterRef="SWEEP_TABLE" />
543
+ <xtce:ParameterRefEntry parameterRef="PLAN_ID_SCIENCE" />
544
+ <xtce:ParameterRefEntry parameterRef="MODE" />
545
+ <xtce:ParameterRefEntry parameterRef="SPARE_1" />
546
+ <xtce:ParameterRefEntry parameterRef="ESA_LVL5" />
547
+ <xtce:ParameterRefEntry parameterRef="SPARE_2_SCIENCE" />
548
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST0" />
549
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST0" />
550
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST0" />
551
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST1" />
552
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST1" />
553
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST1" />
554
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST2" />
555
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST2" />
556
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST2" />
557
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST3" />
558
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST3" />
559
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST3" />
560
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST4" />
561
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST4" />
562
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST4" />
563
+ <xtce:ParameterRefEntry parameterRef="PCEM_RNG_ST5" />
564
+ <xtce:ParameterRefEntry parameterRef="SCEM_RNG_ST5" />
565
+ <xtce:ParameterRefEntry parameterRef="COIN_RNG_ST5" />
566
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT0" />
567
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT0" />
568
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT0" />
569
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT1" />
570
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT1" />
571
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT1" />
572
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT2" />
573
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT2" />
574
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT2" />
575
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT3" />
576
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT3" />
577
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT3" />
578
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT4" />
579
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT4" />
580
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT4" />
581
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT5" />
582
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT5" />
583
+ <xtce:ParameterRefEntry parameterRef="COIN_CNT5" />
584
+ <xtce:ParameterRefEntry parameterRef="CHKSUM" />
585
+ </xtce:EntryList>
586
+ </xtce:SequenceContainer>
587
+ <xtce:SequenceContainer name="P_SWP_HK">
588
+ <xtce:BaseContainer containerRef="CCSDSPacket">
589
+ <xtce:RestrictionCriteria>
590
+ <xtce:Comparison parameterRef="PKT_APID" value="1184" useCalibratedValue="false" />
591
+ </xtce:RestrictionCriteria>
592
+ </xtce:BaseContainer>
593
+ <xtce:EntryList>
594
+ <xtce:ParameterRefEntry parameterRef="SHCOARSE" />
595
+ <xtce:ParameterRefEntry parameterRef="CMDEXE" />
596
+ <xtce:ParameterRefEntry parameterRef="CMDRJCT" />
597
+ <xtce:ParameterRefEntry parameterRef="LUT_CHOICE" />
598
+ <xtce:ParameterRefEntry parameterRef="PCEM_SAFE" />
599
+ <xtce:ParameterRefEntry parameterRef="SCEM_SAFE" />
600
+ <xtce:ParameterRefEntry parameterRef="WDT_ST" />
601
+ <xtce:ParameterRefEntry parameterRef="RCV_SAFE_ST" />
602
+ <xtce:ParameterRefEntry parameterRef="SAFE_ST" />
603
+ <xtce:ParameterRefEntry parameterRef="PCEM_RATE_ST" />
604
+ <xtce:ParameterRefEntry parameterRef="SCEM_RATE_ST" />
605
+ <xtce:ParameterRefEntry parameterRef="PCEM_I_ST" />
606
+ <xtce:ParameterRefEntry parameterRef="SCEM_I_ST" />
607
+ <xtce:ParameterRefEntry parameterRef="PCEM_V_ST" />
608
+ <xtce:ParameterRefEntry parameterRef="SCEM_V_ST" />
609
+ <xtce:ParameterRefEntry parameterRef="LVPS_V_ST" />
610
+ <xtce:ParameterRefEntry parameterRef="LVPS_I_ST" />
611
+ <xtce:ParameterRefEntry parameterRef="OVR_T_ST" />
612
+ <xtce:ParameterRefEntry parameterRef="UND_T_ST" />
613
+ <xtce:ParameterRefEntry parameterRef="MODE" />
614
+ <xtce:ParameterRefEntry parameterRef="MEMDP_ST" />
615
+ <xtce:ParameterRefEntry parameterRef="SENSOR_T" />
616
+ <xtce:ParameterRefEntry parameterRef="HVSUPP_T" />
617
+ <xtce:ParameterRefEntry parameterRef="CNTRLR_T" />
618
+ <xtce:ParameterRefEntry parameterRef="PCEM_V" />
619
+ <xtce:ParameterRefEntry parameterRef="SCEM_V" />
620
+ <xtce:ParameterRefEntry parameterRef="PCEM_I" />
621
+ <xtce:ParameterRefEntry parameterRef="SCEM_I" />
622
+ <xtce:ParameterRefEntry parameterRef="P5_V" />
623
+ <xtce:ParameterRefEntry parameterRef="N5_V" />
624
+ <xtce:ParameterRefEntry parameterRef="P5_I" />
625
+ <xtce:ParameterRefEntry parameterRef="N5_I" />
626
+ <xtce:ParameterRefEntry parameterRef="SWP_REV" />
627
+ <xtce:ParameterRefEntry parameterRef="LAST_OPCODE" />
628
+ <xtce:ParameterRefEntry parameterRef="PHD_LLD1_LVL" />
629
+ <xtce:ParameterRefEntry parameterRef="MEMLD_ST" />
630
+ <xtce:ParameterRefEntry parameterRef="BOOT_ST" />
631
+ <xtce:ParameterRefEntry parameterRef="ESA_ST" />
632
+ <xtce:ParameterRefEntry parameterRef="PCEM_ST" />
633
+ <xtce:ParameterRefEntry parameterRef="SCEM_ST" />
634
+ <xtce:ParameterRefEntry parameterRef="SPARE_1" />
635
+ <xtce:ParameterRefEntry parameterRef="PCEM_CNT_ST" />
636
+ <xtce:ParameterRefEntry parameterRef="SCEM_CNT_ST" />
637
+ <xtce:ParameterRefEntry parameterRef="PCEM_I_THR" />
638
+ <xtce:ParameterRefEntry parameterRef="SCEM_I_THR" />
639
+ <xtce:ParameterRefEntry parameterRef="PCEM_LVL" />
640
+ <xtce:ParameterRefEntry parameterRef="SCEM_LVL" />
641
+ <xtce:ParameterRefEntry parameterRef="AGND_VOLT" />
642
+ <xtce:ParameterRefEntry parameterRef="CEM_I" />
643
+ <xtce:ParameterRefEntry parameterRef="ESA_V" />
644
+ <xtce:ParameterRefEntry parameterRef="P2_5_V" />
645
+ <xtce:ParameterRefEntry parameterRef="PHD_LLD1_V" />
646
+ <xtce:ParameterRefEntry parameterRef="SPARE_2_HK" />
647
+ <xtce:ParameterRefEntry parameterRef="PCEM_RATELIM" />
648
+ <xtce:ParameterRefEntry parameterRef="SCEM_RATELIM" />
649
+ <xtce:ParameterRefEntry parameterRef="STIM_EN" />
650
+ <xtce:ParameterRefEntry parameterRef="MISSED_PPS_CNT" />
651
+ <xtce:ParameterRefEntry parameterRef="CEM_INT_LIM" />
652
+ <xtce:ParameterRefEntry parameterRef="CMD_ECHO_ST" />
653
+ <xtce:ParameterRefEntry parameterRef="HV_PGSAFE_ST" />
654
+ <xtce:ParameterRefEntry parameterRef="HV_ARM_ST" />
655
+ <xtce:ParameterRefEntry parameterRef="SPARE_3" />
656
+ <xtce:ParameterRefEntry parameterRef="CEM_INT_DIP" />
657
+ <xtce:ParameterRefEntry parameterRef="PLAN_ID_HK" />
658
+ <xtce:ParameterRefEntry parameterRef="SWEEP_ID" />
659
+ <xtce:ParameterRefEntry parameterRef="PCEM_V1_ST" />
660
+ <xtce:ParameterRefEntry parameterRef="PCEM_I1_ST" />
661
+ <xtce:ParameterRefEntry parameterRef="SCEM_V1_ST" />
662
+ <xtce:ParameterRefEntry parameterRef="SCEM_I1_ST" />
663
+ <xtce:ParameterRefEntry parameterRef="PCEM_INT_ST" />
664
+ <xtce:ParameterRefEntry parameterRef="SCEM_INT_ST" />
665
+ <xtce:ParameterRefEntry parameterRef="EEP2_RDY" />
666
+ <xtce:ParameterRefEntry parameterRef="EEP1_RDY" />
667
+ <xtce:ParameterRefEntry parameterRef="FPGA_TYPE" />
668
+ <xtce:ParameterRefEntry parameterRef="FPGA_REV" />
669
+ <xtce:ParameterRefEntry parameterRef="IAL_TLM" />
670
+ <xtce:ParameterRefEntry parameterRef="SCI_TLM" />
671
+ <xtce:ParameterRefEntry parameterRef="HK_TLM" />
672
+ <xtce:ParameterRefEntry parameterRef="SPARE_4" />
673
+ <xtce:ParameterRefEntry parameterRef="FPGA_PUP_ST" />
674
+ <xtce:ParameterRefEntry parameterRef="EEPL2_CKS_ST" />
675
+ <xtce:ParameterRefEntry parameterRef="EEPL1_CKS_ST" />
676
+ <xtce:ParameterRefEntry parameterRef="RAM_D_ST" />
677
+ <xtce:ParameterRefEntry parameterRef="EEPC2_CKS_ST" />
678
+ <xtce:ParameterRefEntry parameterRef="EEPC1_CKS_ST" />
679
+ <xtce:ParameterRefEntry parameterRef="RAM_C_ST" />
680
+ <xtce:ParameterRefEntry parameterRef="PROM_CKS_ST" />
681
+ <xtce:ParameterRefEntry parameterRef="LUT_REV" />
682
+ <xtce:ParameterRefEntry parameterRef="P2V5D" />
683
+ <xtce:ParameterRefEntry parameterRef="P3V3_V_MON" />
684
+ <xtce:ParameterRefEntry parameterRef="P_CEM_CMD_LVL_MON" />
685
+ <xtce:ParameterRefEntry parameterRef="S_CEM_CMD_LVL_MON" />
686
+ <xtce:ParameterRefEntry parameterRef="ESA_CMD_LVL_MON" />
687
+ <xtce:ParameterRefEntry parameterRef="PHD_LLD2_V" />
688
+ <xtce:ParameterRefEntry parameterRef="SPARE_5" />
689
+ <xtce:ParameterRefEntry parameterRef="PHD_LLD2_LVL" />
690
+ <xtce:ParameterRefEntry parameterRef="CHKSUM" />
691
+ </xtce:EntryList>
692
+ </xtce:SequenceContainer>
693
+ <xtce:SequenceContainer name="P_SWP_AUT">
694
+ <xtce:BaseContainer containerRef="CCSDSPacket">
695
+ <xtce:RestrictionCriteria>
696
+ <xtce:Comparison parameterRef="PKT_APID" value="1192" useCalibratedValue="false" />
697
+ </xtce:RestrictionCriteria>
698
+ </xtce:BaseContainer>
699
+ <xtce:EntryList>
700
+ <xtce:ParameterRefEntry parameterRef="SHCOARSE" />
701
+ <xtce:ParameterRefEntry parameterRef="SPARE_1_AUT" />
702
+ <xtce:ParameterRefEntry parameterRef="POWER_REQUEST" />
703
+ <xtce:ParameterRefEntry parameterRef="CHKSUM" />
704
+ </xtce:EntryList>
705
+ </xtce:SequenceContainer>
706
+ </xtce:ContainerSet>
707
+ </xtce:TelemetryMetaData>
708
+ </xtce:SpaceSystem>