DAQ: added ml_bounding_box to loop centering, creates grid scan grid using ml. Fixed bug where filename wouldn't iterate for copied grid scans.

This commit is contained in:
2025-07-04 10:59:42 +02:00
parent 804d18db4d
commit 731efccc2b
8 changed files with 124 additions and 18 deletions
+7
View File
@@ -94,6 +94,12 @@ class BeamMarkCoeffModel(BaseModel):
y=self.coeff_y[0] * zoom**2 + self.coeff_y[1] * zoom + self.coeff_y[2],
)
class BoundingBoxModel(BaseModel):
top_x: float
top_y: float
bottom_x: float
bottom_y: float
class LoopCenteringZoomModelElem(BaseModel):
zoom_value: float
@@ -177,6 +183,7 @@ class DAQStatusModel(BaseModel):
busy: bool
sample: SampleShortInfo | None = None
session: SessionStatus
box: BoundingBoxModel | None = None
class BeamlineSettingsModel(BaseModel):
dtz_max: float | None = 1600.0