DAQ: Bring back Aerotech reference position

This commit is contained in:
2026-01-16 13:55:54 +01:00
parent bcbb53dd1c
commit 65dd1a6856
+2 -2
View File
@@ -521,7 +521,7 @@ class AareDAQ:
def sample_geometry(self) -> SampleGeometryModel:
zoom = self.__devs.zoom
aerotech_pos_ref = self.__cfg.abr_meas_pos
# aerotech_coord = self.__devs.aerotech_pos - aerotech_pos_ref
aerotech_coord = self.__devs.aerotech_pos - aerotech_pos_ref
sample_geom = SampleGeometryModel(
beam_location_pxl=self.__cfg.beam_mark_coeff.apply(zoom),
pixel_in_mm=self.__cfg.pixel_to_mm(zoom),
@@ -529,7 +529,7 @@ class AareDAQ:
smargon=self.__devs.smargon_pos,
beam_size_mm=self.__cfg.beam_size_mm,
aerotech=Coordinate(),
aerotech_meas=self.__devs.aerotech_pos
aerotech_meas=aerotech_coord
)
return sample_geom