From b8de3c1ce53004890b32d2d2e1487b6c92c3da4e Mon Sep 17 00:00:00 2001 From: eayari21 <> Date: Thu, 26 Mar 2026 06:59:49 -0600 Subject: [PATCH 1/4] Swap rejection and reflectron voltages in lookup table --- .../idex/idex_variable_unpacking_and_eu_conversion.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv b/imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv index 793897ef64..80927ecbe2 100644 --- a/imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv +++ b/imap_processing/idex/idex_variable_unpacking_and_eu_conversion.csv @@ -10,8 +10,8 @@ 9,detector_voltage,idx__txhdrhvpshkch01,4,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI 10,sensor_voltage,idx__txhdrhvpshkch01,20,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI 11,target_voltage,idx__txhdrhvpshkch23,4,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI -12,reflectron_voltage,idx__txhdrhvpshkch23,20,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI -13,rejection_voltage,idx__txhdrhvpshkch45,4,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI +12,rejection_voltage,idx__txhdrhvpshkch23,20,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI +13,reflectron_voltage,idx__txhdrhvpshkch45,4,4,12,V,0,1.4652,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI 14,current_hvps_sensor,idx__txhdrhvpshkch45,20,4,12,mA,0,0.000007326,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI 15,positive_current_hvps,idx__txhdrhvpshkch67,4,4,12,mA,0,0.000024339,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI 16,negative_current_hvps,idx__txhdrhvpshkch67,20,4,12,mA,0,0.000024339,0,0,0,0,0,0,UNSEGMENTED_POLY,IDEX_SCI From 93f0557408c23743767952bffd55176653d3de1d Mon Sep 17 00:00:00 2001 From: eayari21 <> Date: Mon, 30 Mar 2026 17:05:53 -0700 Subject: [PATCH 2/4] new test file updated --- imap_processing/tests/external_test_data_config.py | 2 +- imap_processing/tests/idex/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imap_processing/tests/external_test_data_config.py b/imap_processing/tests/external_test_data_config.py index 416f8dfee8..f268024b93 100644 --- a/imap_processing/tests/external_test_data_config.py +++ b/imap_processing/tests/external_test_data_config.py @@ -135,7 +135,7 @@ # IDEX ("idex_l1a_validation_file.h5", "idex/test_data/"), - ("imap_idex_l1b_sci_20231218_v001.h5", "idex/test_data/"), + ("imap_idex_l0_raw_20231218_v002.h5", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-yield-params_20250101_v001.csv", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-t-rise_20250101_v001.csv", "idex/test_data/"), diff --git a/imap_processing/tests/idex/conftest.py b/imap_processing/tests/idex/conftest.py index 35bee8c542..4b9ee3cd3f 100644 --- a/imap_processing/tests/idex/conftest.py +++ b/imap_processing/tests/idex/conftest.py @@ -17,7 +17,7 @@ TEST_L0_FILE_CATLST = TEST_DATA_PATH / "imap_idex_l0_raw_20241206_v001.pkts" # 1419 L1A_EXAMPLE_FILE = TEST_DATA_PATH / "idex_l1a_validation_file.h5" -L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l1b_sci_20231218_v001.h5" +L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l0_raw_20231218_v002.h5" L2A_CDF = TEST_DATA_PATH / "imap_idex_l2a_sci-1week_20251017_v001.cdf" L1B_EVT_CDF = TEST_DATA_PATH / "imap_idex_l1b_evt_20250108_v001.cdf" From d9acc7bb23439a9f888e83058f3540c9225de67e Mon Sep 17 00:00:00 2001 From: eayari21 <> Date: Wed, 1 Apr 2026 14:31:01 -0700 Subject: [PATCH 3/4] updated test file name --- imap_processing/tests/external_test_data_config.py | 2 +- imap_processing/tests/idex/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imap_processing/tests/external_test_data_config.py b/imap_processing/tests/external_test_data_config.py index f268024b93..e4bbcf6a32 100644 --- a/imap_processing/tests/external_test_data_config.py +++ b/imap_processing/tests/external_test_data_config.py @@ -135,7 +135,7 @@ # IDEX ("idex_l1a_validation_file.h5", "idex/test_data/"), - ("imap_idex_l0_raw_20231218_v002.h5", "idex/test_data/"), + ("imap_idex_l1b_raw_20231218_v002.h5", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-yield-params_20250101_v001.csv", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-t-rise_20250101_v001.csv", "idex/test_data/"), diff --git a/imap_processing/tests/idex/conftest.py b/imap_processing/tests/idex/conftest.py index 4b9ee3cd3f..2f7887e8e0 100644 --- a/imap_processing/tests/idex/conftest.py +++ b/imap_processing/tests/idex/conftest.py @@ -17,7 +17,7 @@ TEST_L0_FILE_CATLST = TEST_DATA_PATH / "imap_idex_l0_raw_20241206_v001.pkts" # 1419 L1A_EXAMPLE_FILE = TEST_DATA_PATH / "idex_l1a_validation_file.h5" -L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l0_raw_20231218_v002.h5" +L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l1b_raw_20231218_v002.h5" L2A_CDF = TEST_DATA_PATH / "imap_idex_l2a_sci-1week_20251017_v001.cdf" L1B_EVT_CDF = TEST_DATA_PATH / "imap_idex_l1b_evt_20250108_v001.cdf" From fa1fd815e64890fe450f6c8b243079b2125aa9ad Mon Sep 17 00:00:00 2001 From: eayari21 <> Date: Wed, 1 Apr 2026 14:34:38 -0700 Subject: [PATCH 4/4] updated test file name raw to sci for l1b --- imap_processing/tests/external_test_data_config.py | 2 +- imap_processing/tests/idex/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imap_processing/tests/external_test_data_config.py b/imap_processing/tests/external_test_data_config.py index e4bbcf6a32..3b7c77e309 100644 --- a/imap_processing/tests/external_test_data_config.py +++ b/imap_processing/tests/external_test_data_config.py @@ -135,7 +135,7 @@ # IDEX ("idex_l1a_validation_file.h5", "idex/test_data/"), - ("imap_idex_l1b_raw_20231218_v002.h5", "idex/test_data/"), + ("imap_idex_l1b_sci_20231218_v002.h5", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-yield-params_20250101_v001.csv", "idex/test_data/"), ("imap_idex_l2a-calibration-curve-t-rise_20250101_v001.csv", "idex/test_data/"), diff --git a/imap_processing/tests/idex/conftest.py b/imap_processing/tests/idex/conftest.py index 2f7887e8e0..2e6d3af387 100644 --- a/imap_processing/tests/idex/conftest.py +++ b/imap_processing/tests/idex/conftest.py @@ -17,7 +17,7 @@ TEST_L0_FILE_CATLST = TEST_DATA_PATH / "imap_idex_l0_raw_20241206_v001.pkts" # 1419 L1A_EXAMPLE_FILE = TEST_DATA_PATH / "idex_l1a_validation_file.h5" -L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l1b_raw_20231218_v002.h5" +L1B_EXAMPLE_FILE = TEST_DATA_PATH / "imap_idex_l1b_sci_20231218_v002.h5" L2A_CDF = TEST_DATA_PATH / "imap_idex_l2a_sci-1week_20251017_v001.cdf" L1B_EVT_CDF = TEST_DATA_PATH / "imap_idex_l1b_evt_20250108_v001.cdf"