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
feat(dog): ✨ take the decon voxel sizes from the image calibration
dxdata/dzdata describe the image, and the image already records its own
voxel size in the NGFF metadata -- so keeping a second copy in the config was
a chance for the two to drift apart. A deconvolution given the wrong
sampling does not fail; it returns a subtly wrong result, which makes the
duplication worse than merely redundant.
The lateral sizes now come from X/Y and the axial ones from Z, filled in only
where the config left them out, so an explicitly set dxpsf (a PSF sampled
differently from the data) still wins. read_pixel_size() exposes the
calibration for API callers.
The wiring is not DoG-specific: any custom function that declares a
voxel_size parameter receives {"z", "y", "x"} from the store, so a method
needing physical units -- a diameter in micrometers, say -- can ask for them
rather than have them configured. An uncalibrated store passes nothing and
says so.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments