Changelog
0.1.0
New features
- 3D plotting (
ossify.plot3d, available behind thevizextra): a PyVista-based rendering backend withplot_cell_3d,plot_morphology_3d,plot_mesh_3d,plot_graph_3d,plot_annotations_3d,plot_skeleton_3d, andplot_points_3d. Utilitiesadd_colorbar_3dandorbit_3dsupport colorbars and orbit-style animations. Install withpip install ossify[viz]. - Skeleton resampling:
SkeletonLayer.resample(spacing, ...)returns a new skeleton with approximately uniform vertex spacing along each unbranched segment. Topological points (root, branch points, end points) are preserved; feature values are remapped by nearest neighbor or by user-supplied pandas aggregations. - SWC export improvements:
export_swcnow accepts aSkeletonLayerdirectly (not just aCell) and supports aresample_distanceparameter for resampling on the fly. - Projection helpers:
ossify.plot.Rotationandossify.plot.RotateCellbuild callable projections for rotated views, including PCA-based "best angle" and full-PCA modes.
Improvements
- 2D plot fixes: corrected annotation color mapping, point-value mapping, and default sizing for cleaner output across unit systems.
- Better
CellFilesergonomics for batched cell I/O. - Documentation: new conceptual pages, expanded user guide for skeleton resampling, 3D visualization, and rotation helpers.
Internal
- The masking and linking machinery formerly provided by the external
morphsyncdependency has been vendored intoossify._sync. The public API is unchanged; the package now has one fewer external dependency.
0.0.4
Initial release on PyPI.