Ejemplo n.º 1
0
 def beginScan(self):
     if len(self._startpositions) > 1:
         # determine first varying index as the plotting index
         for i in range(3):
             if self._startpositions[0][0][i] != \
                self._startpositions[1][0][i]:
                 self._xindex = i
                 break
     Scan.beginScan(self)
Ejemplo n.º 2
0
 def beginScan(self):
     device = self._devices[0]
     self._original_speed = device.speed
     self._original_accel = device.accel
     self._original_decel = device.decel
     device.speed = self._speed
     device.accel = 1
     device.decel = 1
     Scan.beginScan(self)
Ejemplo n.º 3
0
 def beginScan(self):
     # since for every scan interval the underlying motor will be driven
     # to the starting point as described in `moveDevices` instead of the
     # originating motor it is necessary to replace the motor with the
     # underlying one in the dataset. Otherwise datasets will contain
     # ``None`` values because ``resdict`` in `PointDataset._reslist` will
     # contain just values for the underlying motor although values for
     # the originating/microstepping motor are requested.
     copydevices = list(self._devices)
     self._devices = underlying_motor(self._devices)
     Scan.beginScan(self)
     self._devices = copydevices
Ejemplo n.º 4
0
 def beginScan(self):
     if self._notherdevs == 0:
         self.dataset.xindex = 1  # plot against tau
     Scan.beginScan(self)