Skip to content

Bugfix hardware_averaging + led_push for ROI (PR 10 rebased on the new camera base) - #12

Merged
seb5g merged 3 commits into
5.0.xfrom
fix/pr10-led-push-hardware-averaging
Oct 26, 2026
Merged

seb5g merged 3 commits into
5.0.xfrom
fix/pr10-led-push-hardware-averaging

Conversation

@seb5g

@seb5g seb5g commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Before: #10 (by @rgeneaux) conflicts with 5.0.x since #11 moved the generic camera plugin to camera_base.py, and the branch lives in a fork that could not be updated from here.

After: the same two fixes apply on the new location, with the commits of #10 kept in the history (same authorship):

  1. hardware_averaging = False in CameraBase: with True, grab_data is called at each frame at high frame rates and the plugin crashed within seconds.
  2. update_roi and apply_roi use led_push: with pymodaq_gui 5.3.x, led is a display-only indicator and led_push is the clickable one, so the ROI controls work again.

How: the merge of 5.0.x into the branch of #10, the conflict being only the moved file; the diff to 5.0.x is the three changed lines. The 26 tests of tests/test_camera_base.py pass. Not tried on a real camera, so the 100 FPS crash of the first point is not reproduced here.

If this is merged, #10 can be closed (or its author can merge 5.0.x into the fork branch instead).


Generated by Claude Code

rgeneaux and others added 3 commits October 21, 2026 09:57
The camera base moved to camera_base.py in 5.0.x, so the three changes of this
branch (led_push for update_roi and apply_roi, hardware_averaging False) are
applied there; camera_base_pylablib.py is the one of 5.0.x.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg
@seb5g
seb5g merged commit b685189 into 5.0.x Oct 26, 2026
6 of 7 checks passed
@seb5g
seb5g deleted the fix/pr10-led-push-hardware-averaging branch October 27, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants