feat: motor stacking, auto-exclude, refined stitching#98
Open
FIrgolitsch wants to merge 1 commit into
Open
Conversation
This was referenced Apr 1, 2026
c3092e2 to
a82b899
Compare
7a4c344 to
24fa7d7
Compare
24fa7d7 to
dc806fe
Compare
e4c127f to
a48129d
Compare
dc806fe to
8f1637e
Compare
82b44be to
ce8e35d
Compare
7a4dd66 to
e939493
Compare
This was referenced Apr 28, 2026
199dd1d to
fffe682
Compare
e939493 to
20d26d1
Compare
This was referenced Apr 30, 2026
fffe682 to
c38bcf9
Compare
20d26d1 to
15db0d2
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
15db0d2 to
7b331c8
Compare
c38bcf9 to
3e7849d
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
7b331c8 to
258fdee
Compare
3e7849d to
f3b6b4b
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
258fdee to
6649b3a
Compare
This was referenced May 1, 2026
An error occurred while trying to automatically change base from
pr-c-utility-preprocessing
to
pr-a-build-tooling
May 7, 2026 15:27
An error occurred while trying to automatically change base from
pr-c-utility-preprocessing
to
pr-a-build-tooling
May 7, 2026 15:27
An error occurred while trying to automatically change base from
pr-c-utility-preprocessing
to
pr-a-build-tooling
May 7, 2026 15:28
6649b3a to
c6ad655
Compare
This was referenced May 20, 2026
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.
PR #98 — Motor Stacking & Refined Stitching
Adds motor-based slice stacking and the refined 3D stitching used by the new reconstruction workflow. Two commits: initial feature drop and a follow-up that smooths drift, adds a per-slice reliability flag, and tightens the auto-exclude logic.
New library modules
linumpy/stitching/motor.py— motor-only stacking. Adds atransform_sourcecolumn (motor/registered/motor+refined), a per-slicereliableflag, drift smoothing (bounded low-pass on cumulative motor z), and drift / sigma limits used to gate auto-exclude.linumpy/stitching/stacking.py— enhanced stacking with confidence gating, z-consistency enforcement between neighbouring slice pairs, and configurable drift limits.New scripts
linum_stack_motor_only.py— motor-only stacking CLIlinum_stack_slices_motor.py— motor-first stacking with optional registration refinement, drift smoothing, rehoming-aware reset (consumeslinum_detect_rehomingoutput from feat: utility modules, preprocessing improvements, galvo correction #97)linum_stitch_motor_only.py— motor-only stitch driverlinum_stitch_3d_refined.py— refined 3D stitching (motor + registration + z-consistency)linum_auto_exclude_slices.py— automatic slice exclusion based on drift / sigma / reliabilityUpdated scripts
linum_stack_slices_3d.py,linum_stack_slices.py,linum_stitch_3d.py— integrated with the new moduleslinum_align_mosaics_3d_from_shifts.py— consumes the newtransform_sourcecolumnTests
linumpy/tests/test_stitching_motor.py,test_stitching_stacking.py