Skip to content

Commit

Permalink
add function to interpolate x-y input points
Browse files Browse the repository at this point in the history
  • Loading branch information
ShisatoYano committed Aug 22, 2024
1 parent 3d84cc7 commit cda37b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/course/cubic_spline_course/cubic_spline_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def __init__(self, x_points, y_points):
self.sx = CubicSpline(self.s, x_points)
self.sy = CubicSpline(self.s, y_points)

def calc_interpolated_xy(self, s):
pass

def _calc_base_points(self, x_points, y_points):
dx = np.diff(x_points)
dy = np.diff(y_points)
Expand Down

0 comments on commit cda37b6

Please sign in to comment.