feat: throttled live preview during Record + Z-Stack acquisitions#592
Draft
hongquanli wants to merge 4 commits into
Draft
feat: throttled live preview during Record + Z-Stack acquisitions#592hongquanli wants to merge 4 commits into
hongquanli wants to merge 4 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…orker Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…STACK_DISPLAY_FPS Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ings Review findings (sub-threshold but real): the _def.py comment said z-stack planes 'always display' while the next sentence says 0 disables both phases; and _on_frame's 'route + enqueue only' prose predated the preview tap. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #564 (merges after it; rebase onto master if #564 lands squashed).
Shows frames in the live display during Record + Z-Stack acquisitions, which were previously display-blind:
StreamingCapture(display_fn+display_fps), first frame always shown, then atRECORD_ZSTACK_DISPLAY_FPS(default 3 fps,_def.py/INI;0disables preview for both phases).signal_new_imagecallback (previously wired to a no-op) now emits each captured plane.QtRecordZStackController.image_to_display, connected to the same display slots asmultipointController.image_to_displayin every display config (no double-fire — verified againstupdateNapariConnections's napariLiveWidget skip).streaming_capture.py/record_zstack_worker.py/record_zstack_controller.pygain only plain callables/floats;Signalappears only ingui_hcs.py. Headless path unchanged (defaultsNone/0).Testing
QT_API=pyqt5).Design:
AI-docs/Squid/to-do/2026-07-06-record-zstack-live-preview-design.md🤖 Generated with Claude Code