Commit 2803d1bc authored by Sean Leavey's avatar Sean Leavey
Browse files

Add component position convenience method

parent ff87fabd
......@@ -155,6 +155,12 @@ class BaseTraceSolution(metaclass=abc.ABCMeta):
qys[node] = qy
return qys
def component_positions(self):
return [(comp, self._data[comp]['z'])
for comp in self._data['components']
if not self._data[comp]['is_space']]
def plot(self, filename=None, show=True, w_scale=SI.MILLI, markers=None):
raise NotImplementedError
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