Skip to content

Tools return the corrected image with its axes, for Fiji hyperstacks - #9

Merged
guijacquemet merged 1 commit into
mainfrom
claude/keen-mendel-ekvei7
Nov 17, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/keen-mendel-ekvei7

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

With labconstrictor-tools 0.3.0a4 or later (WithAxes, CellMigrationLab/LabConstrictor-Tools#165), Correct drift and Align channels return their image with the axes the person gave. Fiji then opens a 3D time-lapse with Z and T sliders (z:1/20 t:1/4) instead of one stack of 80 slices. With an older Tools, the array is returned as before, so this can merge before the Tools release.

  • src/fast4dreg_lc_tools: _with_axes() wraps the result when WithAxes exists.
  • tests/test_lc_tools.py: reads the array from either form, and checks the axes when WithAxes exists (skipped otherwise).

Checks

  • With Tools 0.3.0a2: 12 passed, 2 skipped. With Tools 0.3.0a4: 14 passed. labconstrictor-tools test: 9/9 cases. ruff is clean.
  • With Tools 0.3.0a4 in the simulated installed app: the napari UI audit passes 21/21 and the Fiji UI audit 19/19, including the 3D cases (TZYX, ZCYX).

Generated by Claude Code

With labconstrictor-tools 0.3.0a4 or later (WithAxes), the corrected
movie and the aligned image carry the axes the person gave, so Fiji
opens a time-lapse with its time points and slices instead of one long
stack. With an older Tools the array is returned as before. The tests
read the array from either form, and check the axes when WithAxes
exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Scma6VXx7mT1FYsKmB1184
@guijacquemet
guijacquemet merged commit ccee950 into main Nov 17, 2026
5 checks passed
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.

2 participants