feat(lamni): add step size to scilog_last_ptycho_scans summary line
CI for csaxs_bec / test (push) Successful in 2m22s
CI for csaxs_bec / test (push) Successful in 2m22s
Mirrors the same fix just applied to Flomni: tomo_shellstep was already captured in every projection timing record but never surfaced in the per-scan SciLog message. Add it next to FOV. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CpPtD7tCRwRZZnREhWcJi8
This commit is contained in:
@@ -1134,12 +1134,14 @@ class LamNI(TomoQueueMixin, LamNIAlignmentMixin, LamNIOpticsMixin, LamniGuiTools
|
||||
fovx = rec.get("lamni_piezo_range_x")
|
||||
fovy = rec.get("lamni_piezo_range_y")
|
||||
fov_str = f"{fovx} x {fovy} um" if fovx is not None and fovy is not None else "?"
|
||||
step = rec.get("tomo_shellstep")
|
||||
step_str = f"{step} um" if step is not None else "?"
|
||||
exposure = rec.get("tomo_countingtime")
|
||||
exp_str = f"{exposure} s" if exposure is not None else "?"
|
||||
duration = rec.get("duration_s")
|
||||
dur_str = self._format_duration(duration) if duration is not None else "?"
|
||||
lines.append(
|
||||
f"scan {scan_str}: FOV {fov_str}, exposure {exp_str}, duration {dur_str}"
|
||||
f"scan {scan_str}: FOV {fov_str}, step {step_str}, exposure {exp_str}, duration {dur_str}"
|
||||
)
|
||||
|
||||
content = "\n".join(lines)
|
||||
|
||||
Reference in New Issue
Block a user