def __init__(self, axis, start, end, time=0, undershoot=None): AcquisitionMaster.__init__(self, axis, axis.name, "axis") self.movable = axis self.start_pos = start self.end_pos = end self.undershoot = undershoot self.velocity = abs(end-start)/float(time) if time > 0 else axis.velocity()
def __init__(self,device, nb_points=1, acq_expo_time=1., master="internal"): AcquisitionMaster.__init__(self, device, device.__class__.__name__, "zerod") self.__nb_points = nb_points self.__acq_expo_time = acq_expo_time self.__master = master.lower()
def __init__(self, device): AcquisitionMaster.__init__(self, device, device, "test")