Skip to content

feat: motor stacking, auto-exclude, refined stitching#98

Open
FIrgolitsch wants to merge 3 commits intomainfrom
pr-e-motor-stacking
Open

feat: motor stacking, auto-exclude, refined stitching#98
FIrgolitsch wants to merge 3 commits intomainfrom
pr-e-motor-stacking

Conversation

@FIrgolitsch
Copy link
Copy Markdown
Contributor

PR E — Motor Stacking & Refined Stitching

New library modules

  • linumpy/stitching/motor.py — Motor-only stacking implementation
  • linumpy/stitching/stacking.py — Enhanced stacking with confidence gating, z-consistency enforcement, drift limits

New scripts

  • linum_stack_motor_only.py — Motor-only slice stacking
  • linum_stack_slices_motor.py — Motor-based slice stacking
  • linum_stitch_motor_only.py — Motor-only stitching
  • linum_stitch_3d_refined.py — Refined 3D stitching
  • linum_auto_exclude_slices.py — Automatic slice exclusion

Updated scripts

  • linum_stack_slices_3d.py, linum_stack_slices.py, linum_stitch_3d.py
  • linum_align_mosaics_3d_from_shifts.py

Tests

  • test_stitching_motor.py, test_stitching_stacking.py

Dependencies

- Replace setup.py + requirements.txt with pyproject.toml (uv)
- Add .pre-commit-config.yaml (ruff-format, ruff lint, ty advisory)
- Update CI workflow to use uv + ruff + ty
- Update Dockerfile for uv
- Add uv.lock, linumpy/py.typed
- Delete setup.py, requirements.txt, requirements-pytest.txt
- Run ruff format on all Python files
- Run ruff check --fix (341 auto-fixes applied)
…visualization

New library modules:
- linumpy/preproc/normalization.py, resampling.py
- linumpy/utils/image_quality.py, orientation.py, visualization.py

New scripts:
- linum_fix_galvo_shift_zarr.py, linum_clean_raw_data.py
- linum_compare_stitching.py, linum_extract_pyramid_levels.py
- linum_normalize_z_intensity.py, linum_aip_png.py
- linum_screenshot_omezarr_annotated.py, linum_generate_mosaic_aips.py

Updated: preprocessing, stitching, registration, I/O, metrics modules
Added tests for normalization, resampling, xyzcorr, orientation, visualization
New library modules:
- linumpy/stitching/motor.py — motor-only stacking
- linumpy/stitching/stacking.py — stacking improvements (confidence gating, z-consistency, drift limits)

New scripts:
- linum_stack_motor_only.py, linum_stack_slices_motor.py
- linum_stitch_motor_only.py, linum_stitch_3d_refined.py
- linum_auto_exclude_slices.py

Updated scripts:
- linum_stack_slices_3d.py, linum_stack_slices.py, linum_stitch_3d.py
- linum_align_mosaics_3d_from_shifts.py

Tests: test_stitching_motor.py, test_stitching_stacking.py
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.

1 participant