NURBS-Python icon indicating copy to clipboard operation
NURBS-Python copied to clipboard

BSpline interpolation and approximation boundary conditions

Open taoari opened this issue 9 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

For BSpline interpolation, there are four pretty standard boundary conditions: clamped, natural, not-a-knot, periodic (https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.make_interp_spline.html).

For curve2d, I see clamped, unclamped, and periodic examples. However, for curve fitting (interpolation and approximation), I see no such examples. Is it possible to achieve interpolation and approximation with different boundary conditions? I am mainly interested in the periodic case, but it is best if there will also be natural and not-a-knot boundary conditions.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior A clear and concise description of what you expected to happen.

Configuration:

  • OS: [e.g. Windows 10, Ubuntu 18.10]
  • Python distribution: [e.g. OS default, python.org, Anaconda]
  • Python version:
  • geomdl install source: GitHub / PyPI / Anaconda
  • geomdl version/branch:

Screenshots (Optional) If applicable, add screenshots to help explain your problem.

Additional Details (Optional) Add any other context about the problem here.

taoari avatar Sep 29 '23 23:09 taoari