DAQ/GUI - Fluorescence spectrum in a single call

This commit is contained in:
2025-11-13 09:01:05 +01:00
parent 2021cf8cf0
commit 2fffeef0cf
6 changed files with 76 additions and 46 deletions
+8
View File
@@ -429,6 +429,14 @@ class BeamMarkCoeffModel(BaseModel):
y=self.coeff_y[0] * zoom**2 + self.coeff_y[1] * zoom + self.coeff_y[2],
)
class FluorescenceSpectrumParameterModel(BaseModel):
acq_time_s: float
class FluorescenceSpectrumOutputModel(BaseModel):
bkg: list[float] | None = None
spectrum: list[float]
energy_eV: list[float]
class MLBoxType(Enum):
Loop_all = 0
Pin = 1