示例#1
0
文件: motor.py 项目: mguijarr/bliss
 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()
示例#2
0
文件: p201.py 项目: mguijarr/bliss
 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()
示例#3
0
文件: test.py 项目: mguijarr/bliss
 def __init__(self, device):
   AcquisitionMaster.__init__(self, device, device, "test")