Skip to content
Snippets Groups Projects
Commit ff47560e authored by jay's avatar jay
Browse files

refactors focal length episoln out of base

parent 44c9d84b
No related branches found
No related tags found
No related merge requests found
...@@ -520,10 +520,6 @@ class PDS3(): ...@@ -520,10 +520,6 @@ class PDS3():
def _target_id(self): def _target_id(self):
return spice.bodn2c(self.label['TARGET_NAME']) return spice.bodn2c(self.label['TARGET_NAME'])
@property
def focal_epsilon(self):
return float(spice.gdpool('INS{}_FL_UNCERTAINTY'.format(self.ikid), 0, 1)[0])
@property @property
def starting_ephemeris_time(self): def starting_ephemeris_time(self):
if not hasattr(self, '_starting_ephemeris_time'): if not hasattr(self, '_starting_ephemeris_time'):
...@@ -582,6 +578,7 @@ class Spice(): ...@@ -582,6 +578,7 @@ class Spice():
Called when the context is created. This is used Called when the context is created. This is used
to get the kernels furnished. to get the kernels furnished.
""" """
print(self.metakernel)
if self.metakernel: if self.metakernel:
spice.furnsh(self.metakernel) spice.furnsh(self.metakernel)
return self return self
......
...@@ -65,6 +65,10 @@ class MdisSpice(Driver, Spice, Framer): ...@@ -65,6 +65,10 @@ class MdisSpice(Driver, Spice, Framer):
# eval at the focal_plane_tempature # eval at the focal_plane_tempature
return f_t(self._focal_plane_tempature) return f_t(self._focal_plane_tempature)
@property
def focal_epsilon(self):
return float(spice.gdpool('INS{}_FL_UNCERTAINTY'.format(self.ikid), 0, 1)[0])
@property @property
def starting_detector_sample(self): def starting_detector_sample(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment