csaps icon indicating copy to clipboard operation
csaps copied to clipboard

Issue with the smooth parameter.

Open lucassherbrook opened this issue 1 year ago • 3 comments

What the csaps function looks like without smooth parameter:

spline = csaps(x_points, y_points)
plt.plot(x, fit)
plt.scatter(x_points, y_points)
plt.show()

spline_plot_no_smoothing

What the csaps function looks like with any non-default smoothing parameter, even if small:

spline = csaps(x_points, y_points, smooth=.05)
plt.plot(x, fit)
plt.scatter(x_points, y_points)
plt.show()

spline_plot_with_smoothing

lucassherbrook avatar Jun 12 '23 00:06 lucassherbrook