feat(LamNI): measure camera live-mode FPS and smear-sweep capture FPS #277

Merged
holler merged 1 commits from lamni_camera_smear_fps_measurement into main 2026-07-27 12:35:20 +02:00
Member

Neither rate was previously measured anywhere, making it hard to tell a
real acquisition bottleneck from a display/overhead one.

  • IDSCamera.get_live_fps() (new USER_ACCESS entry): rolling-buffer
    measurement of the live-mode push rate in _live_mode_loop(), readable as
    dev.cam_xeye.get_live_fps(). SimIDSCamera inherits it unchanged, so it
    works against the simulated deployment too.
  • XrayEyeAlign._smear_sweep() now tracks timestamps of the first and most
    recent distinct frame it captures, storing the computed rate as
    self.last_smear_fps and printing it in the sweep-done summary line.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Neither rate was previously measured anywhere, making it hard to tell a real acquisition bottleneck from a display/overhead one. - IDSCamera.get_live_fps() (new USER_ACCESS entry): rolling-buffer measurement of the live-mode push rate in _live_mode_loop(), readable as dev.cam_xeye.get_live_fps(). SimIDSCamera inherits it unchanged, so it works against the simulated deployment too. - XrayEyeAlign._smear_sweep() now tracks timestamps of the first and most recent distinct frame it captures, storing the computed rate as self.last_smear_fps and printing it in the sweep-done summary line. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
holler added 1 commit 2026-07-27 12:22:37 +02:00
feat(LamNI): measure camera live-mode FPS and smear-sweep capture FPS
CI for csaxs_bec / test (pull_request) Successful in 3m42s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 1s
CI for csaxs_bec / test (push) Successful in 2m31s
e299775c44
Neither rate was previously measured anywhere, making it hard to tell a
real acquisition bottleneck from a display/overhead one.

- IDSCamera.get_live_fps() (new USER_ACCESS entry): rolling-buffer
  measurement of the live-mode push rate in _live_mode_loop(), readable as
  dev.cam_xeye.get_live_fps(). SimIDSCamera inherits it unchanged, so it
  works against the simulated deployment too.
- XrayEyeAlign._smear_sweep() now tracks timestamps of the first and most
  recent distinct frame it captures, storing the computed rate as
  self.last_smear_fps and printing it in the sweep-done summary line.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
holler merged commit e299775c44 into main 2026-07-27 12:35:20 +02:00
holler deleted branch lamni_camera_smear_fps_measurement 2026-07-27 12:35:20 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#277