Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Python package to do natural neighbour interpolation

Project Description


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.

Example use

>>> 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:

  • Python 2.7.11
  • NumPy 1.10.4
  • SciPy 0.17.0

Installation notes

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.

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.5 kB) Copy SHA256 Hash SHA256
Source None May 31, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers