Repository navigation
v0.3.1
Two fixes where the code disagreed with the spec, found in cellmap-flow's migration, and two small additions. No voxel moves in any read.
source_voxel_sizereports the stored level's voxel size underon_mismatch="relabel", as the spec says; it reported the relabelled size.boxof an array opened with a resample target is the extent of the target voxelsshapecounts,[corner, corner + shape * voxel_size), asGrid.from_meta(meta, voxel_size=t).boxalready was. It was the stored data's extent, soread(box)could return fewer voxels thanshape: 7 voxels of 8 nm read at 24 nm gave a box ending at 56 nm, now 72.- The unit table knows kilometres (
kilometer,kilometre,km, 1e3 m): they convert, abbreviate tokm, andome_multiscaleswrites them as OME'skilometer. - README: the placement rule gains the corner formula, a worked example, why the centre is the model, and how the read rule follows from it.