Loading ale/drivers/mex_drivers.py +171 −116 Original line number Diff line number Diff line Loading @@ -481,6 +481,7 @@ class MexHrscPds3NaifSpiceDriver(LineScanner, Pds3Label, NaifSpice, RadialDistor """ return 1 class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialDistortion, Driver): @property Loading Loading @@ -511,6 +512,36 @@ class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialD """ return self.instrument_id @property def detector_center_line(self): """ Returns the center detector line. For HRSC, we are dealing with a single line, so center line will be 0. Returns ------- : float Detector line of the principal point """ return 0.0 @property def detector_center_sample(self): """ Returns the center detector sample. For HRSC, center sample is consistent regardless of filter. This is different from ISIS's center sample because ISIS line scan sensors use 0.5 based detector samples. Returns ------- : float Detector sample of the principal point """ return 2592.0 @property def sensor_model_version(self): Loading Loading @@ -600,6 +631,30 @@ class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialD """ return spice.bods2c(self.instrument_id) @property def focal2pixel_lines(self): """ NOTE: These values are pulled from ISIS iak kernels. Returns ------- : list<double> focal plane to detector lines """ return [0.0, 0.0, 111.111111111111] @property def focal2pixel_samples(self): """ NOTE: These values are pulled from ISIS iak kernels. Returns ------- : list<double> focal plane to detector samples """ return [0.0, 111.111111111111, 0.0] class MexSrcPds3NaifSpiceDriver(Framer, Pds3Label, NaifSpice, RadialDistortion, Driver): """ Loading Loading
ale/drivers/mex_drivers.py +171 −116 Original line number Diff line number Diff line Loading @@ -481,6 +481,7 @@ class MexHrscPds3NaifSpiceDriver(LineScanner, Pds3Label, NaifSpice, RadialDistor """ return 1 class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialDistortion, Driver): @property Loading Loading @@ -511,6 +512,36 @@ class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialD """ return self.instrument_id @property def detector_center_line(self): """ Returns the center detector line. For HRSC, we are dealing with a single line, so center line will be 0. Returns ------- : float Detector line of the principal point """ return 0.0 @property def detector_center_sample(self): """ Returns the center detector sample. For HRSC, center sample is consistent regardless of filter. This is different from ISIS's center sample because ISIS line scan sensors use 0.5 based detector samples. Returns ------- : float Detector sample of the principal point """ return 2592.0 @property def sensor_model_version(self): Loading Loading @@ -600,6 +631,30 @@ class MexHrscIsisLabelNaifSpiceDriver(LineScanner, IsisLabel, NaifSpice, RadialD """ return spice.bods2c(self.instrument_id) @property def focal2pixel_lines(self): """ NOTE: These values are pulled from ISIS iak kernels. Returns ------- : list<double> focal plane to detector lines """ return [0.0, 0.0, 111.111111111111] @property def focal2pixel_samples(self): """ NOTE: These values are pulled from ISIS iak kernels. Returns ------- : list<double> focal plane to detector samples """ return [0.0, 111.111111111111, 0.0] class MexSrcPds3NaifSpiceDriver(Framer, Pds3Label, NaifSpice, RadialDistortion, Driver): """ Loading