Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
public:notespline:accueil [2021/04/04 16:45] – ↷ Page déplacée de recherche:documents:notespline:accueil à public:notespline:accueil alainbatailly | public:notespline:accueil [2023/04/05 09:04] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== Cubic and bicubic spline interpolation in Python ====== |
- | This page contains the source codes associated to the [[https:// | + | This page contains the source codes associated to the [[https:// |
- | <btn type=" | + | <btn type=" |
<modal id=" | <modal id=" | ||
**Technical note: ** | **Technical note: ** | ||
- | * {{note_spline.pdf|pdf file}} | + | * [[https:// |
**Cubic splines: ** | **Cubic splines: ** | ||
- | * {{cubic_spline_free_end.py | free end condition}} | + | * {{.:cubic_spline_free_end.py | free end condition}} |
- | * {{cubic_spline_imposed_tangent_direction.py | imposed tangent direction}} | + | * {{.:cubic_spline_imposed_tangent_direction.py | imposed tangent direction}} |
- | * {{cubic_spline_end-to-end_tangent_continuity.py | end-to-end tangent continuity}} | + | * {{.:cubic_spline_end-to-end_tangent_continuity.py | end-to-end tangent continuity}} |
- | * {{cubic_spline_not-a-knot.py | not-a-knot end condition}} | + | * {{.:cubic_spline_not-a-knot.py | not-a-knot end condition}} |
**Bicubic parametric surfaces: ** | **Bicubic parametric surfaces: ** | ||
- | * {{bicubic_parametric_surface_free_end.py | free end condition}} | + | * {{.:bicubic_parametric_surface_free_end.py | free end condition}} |
- | * {{bicubic_parametric_cylinder.py | cylindrical closed surface}} | + | * {{.:bicubic_parametric_cylinder.py | cylindrical closed surface}} |
- | * {{bicubic_parametric_sphere.py | spherical closed surface}} | + | * {{.:bicubic_parametric_sphere.py | spherical closed surface}} |
- | * {{bicubic_parametric_surface_not-a-knot.py | not-a-knot end condition}} | + | * {{.:bicubic_parametric_surface_not-a-knot.py | not-a-knot end condition}} |
</ | </ | ||
\\ | \\ | ||
Ligne 26: | Ligne 26: | ||
===== 2D cubic spline ===== | ===== 2D cubic spline ===== | ||
==== free end condition ==== | ==== free end condition ==== | ||
- | Python source code: {{cubic_spline_free_end.py | free end condition}} | + | Python source code: {{.:cubic_spline_free_end.py | free end condition}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
cubic spline interpolated on a set of fit knots with free end conditions | cubic spline interpolated on a set of fit knots with free end conditions | ||
Ligne 35: | Ligne 35: | ||
==== imposed tangent direction ==== | ==== imposed tangent direction ==== | ||
- | Python source code: {{cubic_spline_imposed_tangent_direction.py | imposed tangent direction}} | + | Python source code: {{.:cubic_spline_imposed_tangent_direction.py | imposed tangent direction}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
cubic spline interpolated on a set of fit knots with imposed tangent directions at ends | cubic spline interpolated on a set of fit knots with imposed tangent directions at ends | ||
Ligne 44: | Ligne 44: | ||
==== end-to-end tangent continuity ==== | ==== end-to-end tangent continuity ==== | ||
- | Python source code: {{cubic_spline_end-to-end_tangent_continuity.py | end-to-end tangent continuity}} | + | Python source code: {{.:cubic_spline_end-to-end_tangent_continuity.py | end-to-end tangent continuity}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
cubic spline interpolated on a set of fit knots with end-to-end tangent continuity | cubic spline interpolated on a set of fit knots with end-to-end tangent continuity | ||
Ligne 52: | Ligne 52: | ||
</ | </ | ||
==== not-a-knot end condition | ==== not-a-knot end condition | ||
- | Python source code: {{cubic_spline_not-a-knot.py | not-a-knot end condition}} | + | Python source code: {{.:cubic_spline_not-a-knot.py | not-a-knot end condition}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
cubic spline interpolated on a set of fit knots with not-a-knot end conditions | cubic spline interpolated on a set of fit knots with not-a-knot end conditions | ||
Ligne 63: | Ligne 63: | ||
===== 3D bicubic parametric surface ===== | ===== 3D bicubic parametric surface ===== | ||
==== free end condition ==== | ==== free end condition ==== | ||
- | Python source code: {{bicubic_parametric_surface_free_end.py | free end condition}} | + | Python source code: {{.:bicubic_parametric_surface_free_end.py | free end condition}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
bicubic parametric surface interpolated on a set of fit knots with free end conditions | bicubic parametric surface interpolated on a set of fit knots with free end conditions | ||
Ligne 72: | Ligne 72: | ||
==== cylindrical closed surface ==== | ==== cylindrical closed surface ==== | ||
- | Python source code: {{bicubic_parametric_cylinder.py | cylindrical closed surface}} | + | Python source code: {{.:bicubic_parametric_cylinder.py | cylindrical closed surface}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
closed bicubic parametric surface interpolated on a randomized cylindrical set of fit knots | closed bicubic parametric surface interpolated on a randomized cylindrical set of fit knots | ||
Ligne 81: | Ligne 81: | ||
==== spherical closed surface ==== | ==== spherical closed surface ==== | ||
- | Python source code: {{bicubic_parametric_sphere.py | spherical closed surface}} | + | Python source code: {{.:bicubic_parametric_sphere.py | spherical closed surface}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
fully closed bicubic parametric surface interpolated on a randomized spherical set of fit knots | fully closed bicubic parametric surface interpolated on a randomized spherical set of fit knots | ||
Ligne 90: | Ligne 90: | ||
==== not-a-knot end condition | ==== not-a-knot end condition | ||
- | Python source code: {{bicubic_parametric_surface_not-a-knot.py | not-a-knot end condition}} | + | Python source code: {{.:bicubic_parametric_surface_not-a-knot.py | not-a-knot end condition}} |
< | < | ||
- | {{ | + | {{ |
< | < | ||
bicubic parametric surface interpolated on a set of fit knots with not-a-knot end conditions | bicubic parametric surface interpolated on a set of fit knots with not-a-knot end conditions |
- public/notespline/accueil.1617569125.txt.gz
- Dernière modification : 2023/04/05 08:59
- (modification externe)