auto formated

This commit is contained in:
Unknown MX Person
2025-03-25 15:21:02 +01:00
committed by mohacsi_i
parent 43c84237a9
commit c79b919ed6
2 changed files with 3 additions and 14 deletions

View File

@@ -71,8 +71,7 @@ def rock(steps, exp_time, scan_start=None, scan_end=None, datasource=None, visua
return s, firt_par
def monitor(device,steps,t=1):
def monitor(device, steps, t=1):
for _ in range(steps):
print(device.read())
time.sleep(t)

View File

@@ -8,15 +8,7 @@ def bl_check_beam():
def ascan(
motor,
scan_start,
scan_end,
steps,
exp_time,
plot=None,
visual=True,
relative=False,
**kwargs,
motor, scan_start, scan_end, steps, exp_time, plot=None, visual=True, relative=False, **kwargs
):
"""Demo step scan with plotting
@@ -67,9 +59,7 @@ def ascan(
firt_par = plt1.get_dap_params()
else:
# Fitting without GUI
firt_par = bec.dap.LinearModel.fit(
s, motor.name, motor.name, plot.name, plot.name
)
firt_par = bec.dap.LinearModel.fit(s, motor.name, motor.name, plot.name, plot.name)
# # Some basic fit
# dkey = datasource.full_name