McUtils.Coordinerds

The Coordinerds package implements stuff for dealing with coordinates and generalized coordinate systems

It provides a semi-symbolic way to represent a CoordinateSystem and a CoordinateSet that provides coordinates within a coordinate system. An extensible system for converting between coordinate systems and is provided.

The basic design of the package is set up so that one creates a CoordinateSet object, which in turn tracks its CoordinateSystem. A CoordinateSet is a subclass of np.ndarray, and so any operation that works for a np.ndarray will work in turn for CoordinateSet. This provides a large amount flexibility.

The CoordinateSystem object handles much of the heavy lifting for a CoordinateSet. Conversions between different systems are implemented by a CoordinateSystemConverter. Chained conversions are not currently supported, but might well become supported in the future.

Members


Feedback

Examples

Templates

Documentation