Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,10 @@ release. ### Added - Apollo Metric drivers, tests, and data [#533](https://github.com/DOI-USGS/ale/pull/533) ### Fixed - Fixed landed sensors to correctly project locally [#590](https://github.com/DOI-USGS/ale/pull/590) ## [0.10.0] - 2024-01-08 ### Added Loading ale/base/type_sensor.py +1 −4 Original line number Diff line number Diff line Loading @@ -500,9 +500,6 @@ class Cahvor(): v_s = self.compute_v_s() H_prime = (self.cahvor_camera_dict['H'] - h_c * self.cahvor_camera_dict['A'])/h_s V_prime = (self.cahvor_camera_dict['V'] - v_c * self.cahvor_camera_dict['A'])/v_s if self._props.get("landed", False): self._cahvor_rotation_matrix = np.array([-H_prime, -V_prime, self.cahvor_camera_dict['A']]) else: self._cahvor_rotation_matrix = np.array([H_prime, V_prime, self.cahvor_camera_dict['A']]) return self._cahvor_rotation_matrix Loading ale/drivers/msl_drivers.py +4 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,9 @@ class MslMastcamPds3NaifSpiceDriver(Cahvor, Framer, Pds3Label, NaifSpice, Cahvor # See is_navcam() for an explanation. return (self.compute_h_s() + self.compute_v_s())/2.0 if self._props.get("landed", False): return -super().focal_length # For mast cam return super().focal_length Loading Loading
CHANGELOG.md +4 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,10 @@ release. ### Added - Apollo Metric drivers, tests, and data [#533](https://github.com/DOI-USGS/ale/pull/533) ### Fixed - Fixed landed sensors to correctly project locally [#590](https://github.com/DOI-USGS/ale/pull/590) ## [0.10.0] - 2024-01-08 ### Added Loading
ale/base/type_sensor.py +1 −4 Original line number Diff line number Diff line Loading @@ -500,9 +500,6 @@ class Cahvor(): v_s = self.compute_v_s() H_prime = (self.cahvor_camera_dict['H'] - h_c * self.cahvor_camera_dict['A'])/h_s V_prime = (self.cahvor_camera_dict['V'] - v_c * self.cahvor_camera_dict['A'])/v_s if self._props.get("landed", False): self._cahvor_rotation_matrix = np.array([-H_prime, -V_prime, self.cahvor_camera_dict['A']]) else: self._cahvor_rotation_matrix = np.array([H_prime, V_prime, self.cahvor_camera_dict['A']]) return self._cahvor_rotation_matrix Loading
ale/drivers/msl_drivers.py +4 −1 Original line number Diff line number Diff line Loading @@ -183,6 +183,9 @@ class MslMastcamPds3NaifSpiceDriver(Cahvor, Framer, Pds3Label, NaifSpice, Cahvor # See is_navcam() for an explanation. return (self.compute_h_s() + self.compute_v_s())/2.0 if self._props.get("landed", False): return -super().focal_length # For mast cam return super().focal_length Loading