Commit 5f31f2e3 authored by Sean Leavey's avatar Sean Leavey

Fix missing method

parent 3383581e
......@@ -105,6 +105,12 @@ class BaseTraceSolution(metaclass=abc.ABCMeta):
#return TraceSolution(numeric, False, self._model)
@property
def component_positions(self):
return [(comp, self._data[comp]['z'])
for comp in self._data['components']
if not self._data[comp]['is_space']]
@abc.abstractmethod
def plot(self, filename=None, show=True, w_scale=SI.MILLI, markers=None):
raise NotImplementedError
......@@ -149,15 +155,6 @@ class SimulationTraceSolution(BaseTraceSolution):
qys[node] = qy
return qys
@property
def component_positions(self):
return [(comp, self._data[comp]['z'])
for comp in self._data['components']
if not self._data[comp]['is_space']]
@abc.abstractmethod
def plot(self, filename=None, show=True, w_scale=SI.MILLI, markers=None):
raise NotImplementedError
def __ordered_informative(self):
lsr_nodes = [n for n in self.__informative.keys()
if isinstance(n.component, Laser)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment