trajectories.gradients#

Functions to improve/modify gradients.

Functions

connect_gradient

Get the gradient connections for a set of start and end points.

get_prephasors_and_spoilers

Get the prephasors and spoiler gradients for a trajectory.

min_length_connection

Get the minimum length of gradient connection for a trajectory.

patch_center_anomaly

Re-position samples to avoid center anomalies.

preprocess

Decorate solver to preprocess trivial cases.

solve_trivial

Trivial solver that returns zeros if possible.