a rough patchwork

This commit is contained in:
2023-05-16 13:53:11 +02:00
parent 9c59d52d5c
commit f7a117fd6e
11 changed files with 263 additions and 532 deletions

View File

@ -133,7 +133,8 @@ instrument = "cristallina"
# pgroup = "p20519" # beamline commissioning 2
# pgroup = "p20840" # Cr beamline commisioning (Jan-Feb 2023)
# pgroup = "p20841" # CrQ PMS commisioning 2 (Jan 2023)
pgroup = "p20993" # CrQ commissoing DilSc2 (March 2023)
# pgroup = "p20993" # CrQ commissoing DilSc2 (March 2023)
pgroup = "p21147" # SAXS
# pgroup = "p19150" # Scratch
# pgroup = "p19152" # Scratch
@ -164,10 +165,12 @@ logger.info("Loading finished.")
def simple_acquisition(filename):
task = daq.acquire(filename)
fname = task.filenames[0]
pattern = r"run([0-9]{4})"
match = re.search(pattern, fname)
run_number = int(match.groups()[0])
#fname = task.filenames[0]
#pattern = r"run([0-9]{4})"
#match = re.search(pattern, fname)
#run_number = int(match.groups()[0])
stand_client.add_row(run_number=run_number)
#stand_client.add_row(run_number=run_number)
stand_client.add_row(run_number=-4,step=0, smaract_x=smaract_mini_XYZ.x.get_current_value(),smaract_y=smaract_mini_XYZ.y.get_current_value(),smaract_z=smaract_mini_XYZ.z.get_current_value()