fix: implement simulated flux
CI / lint (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Failing after 35s
CI / test (3.12) (pull_request) Successful in 1m9s
CI / test (3.13) (pull_request) Successful in 1m16s
CI / test (3.14) (pull_request) Successful in 1m22s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Canceled after 1m18s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Canceled after 1m18s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Canceled after 1m13s
CI / test-with-coverage (pull_request) Canceled after 1m13s
CI / coverage-analysis (pull_request) Canceled after 0s

This commit is contained in:
David Perl
2026-09-09 18:10:09 +02:00
parent d406e13103
commit b8cc767dbf
@@ -17,8 +17,8 @@ class SimulatedBecMacros(BecMacros):
@staticmethod
def save_current_position(device, position, axis=None, force=False, max_delta=0.5) -> None: ...
@staticmethod
def init_beamline_environment() -> tuple[Any, Any, Any]:
return (None, None, None)
def init_beamline_environment() -> tuple[Any, Any]:
return (None, None)
@staticmethod
def bl_energy(energy_ev, move_gap=True, mono_scan=True, plot=True): ...
@@ -28,6 +28,9 @@ class SimulatedBecMacros(BecMacros):
def mono_pitch_scan(plot=True): ...
@staticmethod
def auto_exposure(): ...
@staticmethod
def full_flux_ph_per_s() -> float:
return 42
class SimulatedDispatch(DefaultDispatch):