brain_deer.warp.modifiable

Modifiable-corrections helper: warp existing targets by a new correction alone.

Functions

warp_existing_targets(→ None)

In-place: push every existing target through the field of new_points.

Module Contents

brain_deer.warp.modifiable.warp_existing_targets(corrections: brain_deer.warp.corrections.CorrectionSet, new_points: list[brain_deer.warp.corrections.ControlPoint], *, stiffness: float) → None

In-place: push every existing target through the field of new_points.

Mirrors Slicer WarpDrive ModifiableCorrections: the new correction is solved alone, then applied to prior target positions so subsequent edits compose in the already-corrected frame.