Cubic and bicubic spline interpolation in Python - Articles, actes de conférence et notes techniques du Laboratoire d'Analyse Vibratoire et d'Acoustique (LAVA) de l'école Polytechnique de Montréal Accéder directement au contenu
Rapport Année : 2020

Cubic and bicubic spline interpolation in Python

Résumé

Cubic and bicubic spline interpolations are widely used in a variety of domains. Nonetheless, there are limited resources available to help students or professionals who wish to implement these tools within a computer program. Be it for visualization purposes or for use within sophisticated algorithms, building a 2D or a 3D spline may not be a straightforward process. In this context, the present technical note provides a brief theoretical description of both splines and bicubic splines but also focuses on the practical implementation of both concepts with an emphasis on the various types of boundary conditions that may be used. In particular, different configurations featuring free end conditions, not-a-knot end conditions or particular tangent orientations to build both open and closed parametric curves and surfaces are detailed. Several source codes—written in Python 3.8—are provided with the intent to facilitate the reproduction of presented results.
Fichier principal
Vignette du fichier
note_spline.pdf (2.51 Mo) Télécharger le fichier
source_code.zip (8.97 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03017566 , version 1 (20-11-2020)
hal-03017566 , version 2 (06-04-2021)

Identifiants

  • HAL Id : hal-03017566 , version 1

Citer

Quentin Agrapart, Alain Batailly. Cubic and bicubic spline interpolation in Python. [0] École Polytechnique de Montréal. 2020. ⟨hal-03017566v1⟩

Collections

LAVA
1763 Consultations
7855 Téléchargements

Partager

Gmail Facebook X LinkedIn More