NNIpy is a Python package for conducting natural neighbour interpolation. The major advantage of NNIpy over other implementations of natural neighbour interpolation is that NNIpy can interpolate beyond the convex hull of the input data points.
>>> import nnipy as nn >>> import numpy as np >>> extent = (0, 1, 0, 1) >>> xyz = np.array([[0.41702200, 0.72032449, 0.69588564], [0.30233257, 0.14675589, 0.42313433], [0.18626021, 0.34556073, 0.72032449], [0.53881673, 0.41919451, 0.48452417]]) >>> i = np.array([[0.03577382, 0.76334544]]) >>> nnint = nn.nnint(xyz, i, extent) >>> print(nnint) [ 0.70094508]
NNIpy was developed using:
The installation of NLMpy can be done from the command line using either a Terminal on OSX/UNIX or a Command Prompt on Windows. At the command line you just need to run:
pip install nlmpy
which will get the pip program to install NLMpy directly from the online Python Package Index.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.