organoid_tracker.coordinate_system.spherical_coordinates module
- class organoid_tracker.coordinate_system.spherical_coordinates.SphericalCoordinate(radius_um: float, theta_degrees: float, phi_degrees: float)
Bases:
object
Spherical coordinate using the ISO convention.
- angular_difference(other: SphericalCoordinate) SphericalCoordinate
Gets a spherical coordinate that is the angular difference between self and other. The radius is ignored; the radius of the returned object is always self.radius_um.
- static from_cartesian(vector_um: Vector3) SphericalCoordinate
Gets the equivalent spherical coordinate.