Skip to main content

Generation of cubic, multivariate splines from samples with arbitrary boundary conditions

Project description

CubicMultiSpline documentation

Library for cubic, multivariate spline interpolation from samples with arbitrary boundary conditions for each dimension. The full documentation can be found at https://cubicmultispline.readthedocs.io.

Overview

This library implements the recursive algorithm by Habermann and Kindermann in the Spline class. The 1-dimensional base case, which is needed during recursion is implemented in the Spline1D class. In contrast to other multivariate spline implementations, this library allows for arbitrary boundary conditions for each dimension, that is

  1. not-a-knot
  2. first order (clamped)
  3. second order (natural)
  4. periodic

Additionally, the library provides an efficient function eval_spline to evaluate the spline at arbitrary points inside the domain.

Installation

The easiest way to install the library is to use pip:

pip install cubicmultispline

Alternatively, you can install the library from source:

python setup.py install

License

This library is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cubicmultispline-0.1.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cubicmultispline-0.1.1-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file cubicmultispline-0.1.1.tar.gz.

File metadata

  • Download URL: cubicmultispline-0.1.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for cubicmultispline-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7d352466c5b3085767c9f647fac4b5896277f46b25cff91f2bcd5319b3197b03
MD5 af52d2871203aef76bf01a398f3c1c07
BLAKE2b-256 836cb145fbf49cc8298e8d63cc5226fb520c55b8c06ec6606a5e7a6d81e965be

See more details on using hashes here.

File details

Details for the file cubicmultispline-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cubicmultispline-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcb7bbadba1719f45e5e15a9050da1e9edc8a1c35c7463c1419bd6b36c4ebaa8
MD5 6fa4826dfdc0a6efa1300131dcea3f0c
BLAKE2b-256 aa2db023382480a674f5604efceb44e62524413c09c6528c748b64bb8daff8f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page