I have a cable I am dropping from moving vehicle onto the ground. Using a camera system I estimate the location where the rope touches the ground in realtime. Movement of the ve
You can use scipy UnivariateSpline.
from scipy.interpolate import UnivariateSpline
# new axis
u = np.arange(len(x))
# UnivariateSpline
s = 0.7 * len(u) # smoothing factor
spx = UnivariateSpline(u, x, s=s)
spy = UnivariateSpline(u, y, s=s)
spz = UnivariateSpline(u, z, s=s)
#
xnew = spx(u)
ynew = spy(u)
znew = spz(u)