From 26839608bedd0a60f978383be2f47b3736e93706 Mon Sep 17 00:00:00 2001 From: acpaquette Date: Mon, 25 Nov 2024 10:45:26 -0700 Subject: [PATCH] Fixed nadir velocitiy axis computation --- ale/base/data_naif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale/base/data_naif.py b/ale/base/data_naif.py index df5c7660b..0c3ea273b 100644 --- a/ale/base/data_naif.py +++ b/ale/base/data_naif.py @@ -458,7 +458,7 @@ def frame_chain(self): # from the driver trans_x = np.array(list(spice.gdpool('INS{}_ITRANSL'.format(self.ikid), 0, 3))) - if (trans_x[0] < trans_x[1]): + if (trans_x[1] < trans_x[2]): velocity_axis = 1 quats = [spice.m2q(spice.twovec(-p_vec[i], 3, v_vec[i], velocity_axis)) for i, time in enumerate(times)]