Examples¶
The examples in this section demonstrate detailed use cases of the library. Apart from increasing dimensional complexity, the examples also serve as templates for the user to adapt to their own use case. All examples can be found in the tests directory of the repository.
Quickstart: 2D example – scalar field with uniform boundary conditions
tests/demo_not-a-knot.py2D interpolation of a scalar field of random, equidistant samples with not-a-knot boundary conditions
Visual inspection of interpolation
tests/demo_first-second-peri.py2D interpolation of a scalar field of random, equidistant samples with different boundary conditions in each dimension
Inspection of boundary conditions by means of 1D slices along the edges of the domain
tests/demo_first-second-3d.py3D interpolation of a scalar field of random, equidistant samples with different boundary conditions in each dimension
Inspection of boundary conditions by means of 2D slices along the edges of the domain
Animation of stacked slices to visualize 3-dimensional interpolation