Beispiel #1
0
 def _gen(self):
     return rel_log_scan(self.detectors,
                         self.motor,
                         self.start,
                         self.stop,
                         self.num,
                         md=self.md)
def test_simple_rel_log_scan():
    RE = RunEngine()
    hardware = yaqc_bluesky.Device(39424)
    sensor = yaqc_bluesky.Device(39425)
    RE(rel_log_scan([sensor], hardware, -10, 10, 15))
Beispiel #3
0
def test_log_dscan(RE, hw):
    traj = np.logspace(0, 10, 5) + 6
    hw.motor.set(6)
    scan = bp.rel_log_scan([hw.det], hw.motor, 0, 10, 5)
    traj_checker(RE, scan, traj)
Beispiel #4
0
def test_log_dscan(RE, hw):
    traj = np.logspace(0, 10, 5) + 6
    hw.motor.set(6)
    scan = bp.rel_log_scan([hw.det], hw.motor, 0, 10, 5)
    traj_checker(RE, scan, traj)