You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge dev: auto-tile halo fix and calibration-derived decon sizes (v2.1.0)
Fixes a v2.0.0 bug and removes a duplicated calibration.
tile_shape: "auto" with do_3D: false produces z=1 tiles, so the shipped
overlap [4, 30, 30] expanded each tile to 9 planes to keep 1 -- a 9x read
amplification -- and then hit the 2-D guard added in v2.0.0, because Cellpose
without do_3D would read those planes as channels. That combination could not
run at all. An axis the tile does not span has no context to gather, so the
halo is dropped there: the behaviour the tiling guide already described but
stage_tile never implemented. Explicit tiles with room keep their halo.
The amplification figure prepare logs now clips to the image the way
stage_tile does; a tile spanning the whole image used to claim 5x while
reading exactly 1x, and that number exists to be tuned from.
Deconvolution voxel sizes are now derived from the image's own NGFF
calibration -- lateral from X/Y, axial from Z -- instead of being retyped
into the config where the two could drift apart. A deconvolution given the
wrong sampling does not fail, it just returns a subtly wrong result. Values
set explicitly still win, so a PSF sampled differently from the data keeps
its own. The wiring is generic: any custom function declaring a voxel_size
parameter receives the calibration, so a method needing physical units can
ask for them rather than have them configured.
0 commit comments