Ejemplo n.º 1
0
 def _collectOffAxisPoints(self):
     """
         Return a dictionary with all off-axis locations.
     """
     offAxis = {}
     for l, (value, deltaName) in self.items():
         location = Location(l)
         name = location.isOnAxis()
         if name is None or name is False:
             offAxis[l] = 1
     return offAxis.keys()
Ejemplo n.º 2
0
 def _collectOffAxisPoints(self):
     """
         Return a dictionary with all off-axis locations.
     """
     offAxis = {}
     for l, (value, deltaName) in self.items():
         location = Location(l)
         name = location.isOnAxis()
         if name is None or name is False:
             offAxis[l] = 1
     return offAxis.keys()
Ejemplo n.º 3
0
 def _collectAxisPoints(self):
     """
         Return a dictionary with all on-axis locations.
     """
     for l, (value, deltaName) in self.items():
         location = Location(l)
         name = location.isOnAxis()
         if name is not None and name is not False:
             if not self._axes.has_key(name):
                 self._axes[name] = []
             if l not in self._axes[name]:
                 self._axes[name].append(l)
     return self._axes
Ejemplo n.º 4
0
 def _collectAxisPoints(self):
     """
         Return a dictionary with all on-axis locations.
     """
     for l, (value, deltaName) in self.items():
         location = Location(l)
         name = location.isOnAxis()
         if name is not None and name is not False:
             if not self._axes.has_key(name):
                 self._axes[name] = []
             if l not in self._axes[name]:
                 self._axes[name].append(l)
     return self._axes