Akima Interpolation
Project description
Akima is a Python library that implements Akima’s interpolation method described in:
A new method of interpolation and smooth curve fitting based on local procedures. Hiroshi Akima, J. ACM, October 1970, 17(4), 589-602.
A continuously differentiable sub-spline is built from piecewise cubic polynomials. It passes through the given data points and will appear smooth and natural.
- Author:
- Organization:
Laboratory for Fluorescence Dynamics. University of California, Irvine
- License:
BSD 3-Clause
- Version:
2020.1.1
Requirements
Notes
The Akima module is no longer being actively developed.
Consider using scipy.interpolate.Akima1DInterpolator instead.
Examples
>>> from matplotlib import pyplot >>> from scipy.interpolate import Akima1DInterpolator >>> def example(): ... '''Plot interpolated Gaussian noise.''' ... x = numpy.sort(numpy.random.random(10) * 100) ... y = numpy.random.normal(0.0, 0.1, size=len(x)) ... x2 = numpy.arange(x[0], x[-1], 0.05) ... y2 = interpolate(x, y, x2) ... y3 = Akima1DInterpolator(x, y)(x2) ... pyplot.title('Akima interpolation of Gaussian noise') ... pyplot.plot(x2, y2, 'r-', label='akima') ... pyplot.plot(x2, y3, 'b:', label='scipy', linewidth=2.5) ... pyplot.plot(x, y, 'go', label='data') ... pyplot.legend() ... pyplot.show() >>> example()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
akima-2020.1.1.tar.gz
(8.6 kB
view hashes)
Built Distributions
Close
Hashes for akima-2020.1.1-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4229342b83aaaccbe39c6ed4bff856d90f1b10817e2086789332085a7a1788 |
|
MD5 | 19a0aaae31429cf58fb2ac3e8fc72086 |
|
BLAKE2b-256 | 22eb32f5c56d9ff5f42729a0fffb475db22899890932d4e324a71633afe937b7 |
Close
Hashes for akima-2020.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5758f032ec44dbd8889a8069301ff843c36b292df5fa6dc7229d7ce070bb67d5 |
|
MD5 | 818855491aebd67faa43c0abf8065d39 |
|
BLAKE2b-256 | a45a4d54375b08bd4ea22723e373f4a61737cd4b7be6bc66a20f13e1c6a1af77 |
Close
Hashes for akima-2020.1.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf6579f67f72f101a0674a3567a80676b48478b8fd96ed321cb5d1a88cebb0b |
|
MD5 | cec1b2b03775a009a15cb7190d3bae70 |
|
BLAKE2b-256 | 07dd0d2ad5a6ddcc618effbef00aa14cdd3b541042eb1897ffb38da1a420e39e |
Close
Hashes for akima-2020.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7ce8c2c61744355b2cc2f144bfcc420e916759b0aaf6465055a120d47565c8a |
|
MD5 | 3f63f0695808834a440b3433a77d5706 |
|
BLAKE2b-256 | 7518d676289378efd20a66ff206fa1007032d4c6d6269054cb6360a1dfdea5b0 |
Close
Hashes for akima-2020.1.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb5da6ef727b3410c5c3f59d5af82918b5aa776e84b1c70ee917862e347c915 |
|
MD5 | 14176e20ab0ed72c5cdbf78069cd715a |
|
BLAKE2b-256 | 607b94be3d9923159b5dbbc8598019b5ae03cb892042953387fe337020e12b74 |
Close
Hashes for akima-2020.1.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d33fe593360ef7cae41def9565c922949519d74e1265a2a2b1c96739e001037b |
|
MD5 | d40afa8fe292315d57dac27d385a80f9 |
|
BLAKE2b-256 | 6533e03ef15d8439b981ff9ca5edc5f772298d9724467803967f5bc8ce7ec2c2 |
Close
Hashes for akima-2020.1.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ecb81716eb226d33ae2d5767e31e726bf6c4226443b2869bc7551b5cd2bce7 |
|
MD5 | 3f8070a83ec53374ee9411265ca113db |
|
BLAKE2b-256 | 379f3cb161def8dd6826ec69850f8cc00585862f108606bab49bea68abc46ffd |