poliastro._math.interpolate
¶
Module Contents¶
Functions¶
|
Interpolates y, sampled at x instants, at u instants using scipy.interpolate.interp1d. |
|
Interpolates y, sampled at x instants, at u instants using sinc interpolation. |
- poliastro._math.interpolate.spline_interp(y, x, u, *, kind='cubic')¶
Interpolates y, sampled at x instants, at u instants using scipy.interpolate.interp1d.
- poliastro._math.interpolate.sinc_interp(y, x, u)¶
Interpolates y, sampled at x instants, at u instants using sinc interpolation.
Notes
Taken from https://gist.github.com/endolith/1297227. Possibly equivalent to scipy.signal.resample, see https://mail.python.org/pipermail/scipy-user/2012-January/031255.html. However, quick experiments show different ringing behavior.