Skip to content

feat: reuse_pyramid option for Imaris#18

Merged
lguerard merged 1 commit into
mainfrom
feat/imaris-reuse-pyramid
Jun 23, 2026
Merged

feat: reuse_pyramid option for Imaris#18
lguerard merged 1 commit into
mainfrom
feat/imaris-reuse-pyramid

Conversation

@lguerard

Copy link
Copy Markdown
Contributor

to_ome_zarr("scan.ims", "out.zarr", reuse_pyramid=True) copies the Imaris file's own resolution levels as the OME-ZARR pyramid (each with its native scale) — faster, no recompute. Default False keeps the consistent XY-only nearest-neighbour rebuild. Ignored for non-.ims inputs; falls back to a rebuild if the Imaris levels can't be read.

Docs (guide note) + test added. ruff + mkdocs --strict clean, suite green.

🤖 Generated with Claude Code

Add to_ome_zarr(..., reuse_pyramid=True): for .ims inputs, copy the
file's own ResolutionLevels as the OME-ZARR pyramid (each with its
native scale) instead of rebuilding — faster, no recompute. Ignored for
non-Imaris inputs; falls back to a rebuild if the levels can't be read.
Default stays False (consistent XY-only rebuild). Docs + test updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lguerard lguerard merged commit 8638e4c into main Jun 23, 2026
1 check passed
@lguerard lguerard deleted the feat/imaris-reuse-pyramid branch June 23, 2026 08:01
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