CoordinateSystemCoreMixin#

class coordinates.mixins.core.CoordinateSystemCoreMixin[source]#

Core methods for coordinate systems wrapped in a Mixin for readability.

Methods

__init__()

convert_to(target_system, *native_coords)

Convert coordinates from this system to another coordinate system via Cartesian intermediate.

from_cartesian(*coords)

Convert Cartesian coordinates to native coordinates in this system.

get_conversion_transform(other)

Construct a coordinate transformation function that maps native coordinates from this coordinate system to the target coordinate system.

pprint()

Print a detailed description of the coordinate system, including its axes, parameters, and expressions.

to_cartesian(*coords)

Convert native coordinates to Cartesian coordinates.