SCRIPTS:moved two scripts and renamed so it does not hit the pytest

This commit is contained in:
2026-04-22 16:56:11 +02:00
parent 1b18536699
commit 3ea95367ed
2 changed files with 16 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from aare.daq.daq import AareDAQ
from aare.devices.jfjoch import JFJochWrapper
from aare.common.beamline import MXBeamline, mx_beamline
from aare.daq.aaredb import (AareWrapper)
from aare.daq.config import BeamlineConfig
from aare.common.diffraction_geometry import DiffractionGeometry
from aare.daq.devices import BeamlineDevices
bl=mx_beamline()
j = JFJochWrapper(bl)
a = AareWrapper(bl)
c = BeamlineConfig(bl)
d = BeamlineDevices(bl)
daq = AareDAQ(bl=bl, cfg=c)
result = j.wait_till_done(60)
a.ingest_scan(sample=c.current_sample, result=result, geom= daq.sample_geometry,beam_mark_pxl=c.get_beam_mark(d.zoom))