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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user