Skip to content

Commit 1fcfc55

Browse files
authored
use the actual sensor and not default 45 LUTs (IMAP-Science-Operations-Center#2335)
1 parent 2f95b77 commit 1fcfc55

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

imap_processing/ultra/l1b/ultra_l1b_extended.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def get_energy_pulse_height(
711711
ylut[indices_bottom] = (yb[indices_bottom] / 100 + 82 / 2) * 32 / 82 # mm
712712

713713
ph_correction_top, updated_flags_top = get_ph_corrected(
714-
"ultra45",
714+
sensor,
715715
"tp",
716716
ancillary_files,
717717
np.round(xlut[indices_top]),
@@ -720,7 +720,7 @@ def get_energy_pulse_height(
720720
)
721721
quality_flags[indices_top] = updated_flags_top
722722
ph_correction_bottom, updated_flags_bottom = get_ph_corrected(
723-
"ultra45",
723+
sensor,
724724
"bt",
725725
ancillary_files,
726726
np.round(xlut[indices_bottom]),
@@ -1356,7 +1356,7 @@ def is_back_tof_valid(
13561356
From page 33 of the IMAP-Ultra Flight Software Specification document.
13571357
"""
13581358
_, _, _, _, tofx, tofy = get_ph_tof_and_back_positions(
1359-
de_dataset, xf, "ultra45", ancillary_files
1359+
de_dataset, xf, sensor, ancillary_files
13601360
)
13611361
diff = tofy - tofx
13621362

0 commit comments

Comments
 (0)