brainstat.stats.utils.interp1¶
-
brainstat.stats.utils.
interp1
(x, y, ix, kind='linear')[source]¶ Interpolation between datapoints.
- Parameters
x (ArrayLike) – x coordinates of training data.
y (ArrayLike) – y coordinates of training data.
ix (ArrayLike) – coordinates of the interpolated points.
str (kind) – type of interpolation; see scipy.interpolate.interp1d for options.
int – type of interpolation; see scipy.interpolate.interp1d for options.
optional – type of interpolation; see scipy.interpolate.interp1d for options.
- Returns
numpy.array – interpolated y coordinates.