organoid_tracker.coordinate_system.orientation_spline_adder module

Methods for working with projecting splines on the sphere.

class organoid_tracker.coordinate_system.orientation_spline_adder.ColoredTrackAdder(experiment: Experiment)

Bases: object

Adds linking tracks to the sphere. Tracks will be colored by their position along the closest spline.

add_track_colored_by_spline_position(sphere_representation: SphereRepresentation, linking_track: Iterable[Position], *, highlight_first: bool = False, highlight_last: bool = False)

Adds the given track to the sphere. The track will be colored by the position along the splines that were drawn.

color_map: Colormap
organoid_tracker.coordinate_system.orientation_spline_adder.add_all_splines(sphere_representation: SphereRepresentation, splines: SplineCollection)

Adds all splines in the given collection to the sphere as orientation markers.