From 1b802aaad66d53bdcfa1b9edc5e270c0bf660954 Mon Sep 17 00:00:00 2001 From: x01dc Date: Sat, 19 Sep 2026 21:24:14 +0200 Subject: [PATCH] docs(flomni,lamni): clarify tomo_countingtime is per-frame, not per-point tomo_countingtime is the exposure time of each individual frame within a frames_per_trigger burst -- total dwell time at a position scales with frames_per_trigger (see the scan's own timing model, flomni.py:2553: normal_cadence = ... tomo_countingtime * frames_per_trigger). The GUI label and both setups' tomo_parameters() CLI prompt/print text previously just said "Counting time" with no qualifier, which reads as a per-point total. Relabeled to "Counting time per frame" everywhere it appears. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_0132KBoxsovfcMNRGJhS1Pbw --- csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py | 4 ++-- csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py | 4 ++-- csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py index b054677d..7c093288 100644 --- a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py +++ b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py @@ -2088,7 +2088,7 @@ class LamNI(TomoQueueMixin, LamNIAlignmentMixin, LamNIOpticsMixin, LamniGuiTools def tomo_parameters(self): """Print and interactively update the tomo parameters.""" print("Current settings:") - print(f"Counting time = {self.tomo_countingtime} s") + print(f"Counting time per frame = {self.tomo_countingtime} s") print(f"Stepsize microns = {self.tomo_shellstep}") print( f"Piezo range (max 80) = {self.lamni_piezo_range_x}," @@ -2154,7 +2154,7 @@ class LamNI(TomoQueueMixin, LamNIAlignmentMixin, LamNIOpticsMixin, LamniGuiTools return self.tomo_countingtime = self._get_val( - " s", self.tomo_countingtime, float, min_=0.001, max_=100.0 + " s", self.tomo_countingtime, float, min_=0.001, max_=100.0 ) self.tomo_shellstep = self._get_val( " um", self.tomo_shellstep, float, min_=0.025, max_=20.0 diff --git a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py index 1edc4411..5255d260 100644 --- a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py +++ b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py @@ -3729,7 +3729,7 @@ class Flomni( def tomo_parameters(self): """print and update the tomo parameters""" print("Current settings:") - print(f"Counting time = {self.tomo_countingtime} s") + print(f"Counting time per frame = {self.tomo_countingtime} s") print(f"Stepsize microns = {self.tomo_shellstep}") print(f"Fermat asymmetry (x/y) = {self.fermat_asymmetry}") print(f"FOV (220/100) = {self.fovx}, {self.fovy}") @@ -3821,7 +3821,7 @@ class Flomni( from csaxs_bec.scans.flomni_fermat_scan import FlomniFermatScan self.tomo_countingtime = self._get_val( - " s", self.tomo_countingtime, float, min_=0.001, max_=100.0 + " s", self.tomo_countingtime, float, min_=0.001, max_=100.0 ) self.tomo_shellstep = self._get_val( " um", self.tomo_shellstep, float, min_=0.025, max_=20.0 diff --git a/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py b/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py index caf9dcf6..d95fe871 100644 --- a/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py +++ b/csaxs_bec/bec_widgets/widgets/tomo_params/tomo_params.py @@ -457,7 +457,7 @@ class OMNY_TomoParams(BECWidget, QWidget): "tomo_countingtime": lambda: self._add_double( common_form, "tomo_countingtime", - "Counting time (s)", + "Counting time per frame (s)", min_=0.001, max_=100.0, decimals=3,