Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add classes for coordinate spaces and transforms (#218)
New classes: * Axis: simple data class storing a name, optional units, and optional scale * CoordinateSpace: used to define coordinate spaces for spatial data * CoordinateTransform: abstract base class for coordinate transforms * AffineTransform: implementation for a generic affine coordinate transform * ScaleTransform: implementation for a coordinate transform that scales axes (may be isotropic/uniform) * IdentityTransform: implementation for an identity transform that only applies a name change to axes --------- Co-authored-by: paul fisher <[email protected]>
- Loading branch information