Skip to content

Commit 92ccd23

Browse files
committed
import cubic spline 2d class for course creation
1 parent 1aeab11 commit 92ccd23

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/components/course/cubic_spline_course/cubic_spline_course.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
44
Author: Shisato Yano
55
"""
6+
7+
# import path setting
8+
import sys
9+
from pathlib import Path
10+
11+
abs_dir_path = str(Path(__file__).absolute().parent)
12+
relative_path = "/../../../components/"
13+
14+
sys.path.append(abs_dir_path + relative_path + "course/cubic_spline_course")
15+
16+
#import component modules
17+
from cubic_spline_2d import CubicSpline2D
18+
19+
print(CubicSpline2D)

0 commit comments

Comments
 (0)