Skip to content
Snippets Groups Projects
Commit 56eaff5e authored by Jesse Mapel's avatar Jesse Mapel
Browse files

LRO WAC tweaks

parent b3f353f9
No related branches found
No related tags found
No related merge requests found
...@@ -1221,7 +1221,8 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial ...@@ -1221,7 +1221,8 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
if self.instrument_id == "LRO_LROCWAC_UV": if self.instrument_id == "LRO_LROCWAC_UV":
base = -85640 base = -85640
elif self.instrument_id == "LRO_LROCWAC_VIS": elif self.instrument_id == "LRO_LROCWAC_VIS":
base = -85630 # Offset by 2 because the first 2 filters are UV
base = -85628
fikid = base - self.filter_number fikid = base - self.filter_number
return fikid return fikid
...@@ -1252,6 +1253,30 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial ...@@ -1252,6 +1253,30 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
""" """
return list(spice.gdpool('INS{}_TRANSY'.format(self.fikid), 0, 3)) return list(spice.gdpool('INS{}_TRANSY'.format(self.fikid), 0, 3))
@property
def focal2pixel_lines(self):
"""
Expects fikid to be defined. This must be the integer Naif id code of the filter
Returns
-------
: list<double>
focal plane to detector lines
"""
return list(spice.gdpool('INS{}_ITRANSL'.format(self.fikid), 0, 3))
@property
def focal2pixel_samples(self):
"""
Expects fikid to be defined. This must be the integer Naif id code of the filter
Returns
-------
: list<double>
focal plane to detector samples
"""
return list(spice.gdpool('INS{}_ITRANSS'.format(self.fikid), 0, 3))
@property @property
def detector_start_line(self): def detector_start_line(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment