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:
2021.6.6
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-2021.6.6.tar.gz
(9.2 kB
view hashes)
Built Distributions
Close
Hashes for akima-2021.6.6-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae15473e1dd356e2f7e06db5d42548d34b7f7f81c254065501c8cd9a9d187398 |
|
MD5 | 61dc423557be094c7b1579201f0324ea |
|
BLAKE2b-256 | 1e1b3e1fa37aa876dccb5e80eb73e3beb45736fd8a9fff3c949ba658a8b2f78b |
Close
Hashes for akima-2021.6.6-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 273b4464f2817946ed68f2cee754f4fa85aa379a9bd0f14b2da910214f166a99 |
|
MD5 | 9358f7715c5fd1686e300fc6e71343f6 |
|
BLAKE2b-256 | 8fb24ce7f45af2960920c272821e9a325779fb855e2def15e126ca78e4bb7550 |
Close
Hashes for akima-2021.6.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f5cb9257475e086883663a8847b886f558383e3d94cfe79d9bbe2407bda85a2 |
|
MD5 | 83df08ae96adaac6db482a83a5c77066 |
|
BLAKE2b-256 | 1c4abb73c58c5945499830e129296b2f8ab54728a9675804d053aba6bd08bfb2 |
Close
Hashes for akima-2021.6.6-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db398056eec62bad3e86be605d8e00be822a6ca936a4fc83aedc0b8a50e00803 |
|
MD5 | 17ea4be0190c23b2f748c8261e3d9b39 |
|
BLAKE2b-256 | 6a7f50c137fa4bb699b5ab0912b322a23766f61be5787431bb233db0d0b94fab |
Close
Hashes for akima-2021.6.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff3734d11db9f7bc4c7bc2ff18679d7a56c0ab46b770e2d9ecc2fe65cc7a6549 |
|
MD5 | 659d6235f252f9691fac600898f1d0e2 |
|
BLAKE2b-256 | 438c57d3eda498e66397d7f6a9eba558dfdfc208a105c5940dc86990e432a9af |
Close
Hashes for akima-2021.6.6-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e372c21a48093273278eca97742c3f55267ab19541bdd29476e5f8ba62382dba |
|
MD5 | 2ad54b02028dbcf0a9b9ca44c0fcca79 |
|
BLAKE2b-256 | d7abe4e9d0a751d4e876011af1457651b8f149be202bdad5095aef4d18c4aee1 |
Close
Hashes for akima-2021.6.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 959d32807e9e8b745cc4e46ed82d3b17bed84ea37b8e2bc134ebfad1831c50da |
|
MD5 | aebf0f40ff9b16f760ff5b09d5af1a98 |
|
BLAKE2b-256 | 465027289992c957fefd101b674269eafa76956ccf97830245ef31364b5ea80d |
Close
Hashes for akima-2021.6.6-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cfe96bee3da617b0ff36f0b3d99edaebacd0cf230f155930b12674ac789fbae |
|
MD5 | d4e951f3af3d991b3ae0d8777b25b10c |
|
BLAKE2b-256 | c2e54459e87bc036d72e8ebac11dac5e8161158d5686b1f2023f6432873eb29e |
Close
Hashes for akima-2021.6.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c08102fd2afb08f6b212550e6eb949622e75c6a10aa9d4bacc0c068820648f |
|
MD5 | ba43d86b4f07bdcccac93ae171d53987 |
|
BLAKE2b-256 | f1506b4cad48a364eb84948e8d9d295c396ce1a0ee1651e03380ba201c05323f |
Close
Hashes for akima-2021.6.6-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19f7ac42a7ab09409128b99251609ae77cd00a6788fb5dd4f7066a9449bb451 |
|
MD5 | 8d45afec9a6dab3aa2afb8859982a242 |
|
BLAKE2b-256 | e3ec929e8389a306351dbaf4fb0e67bea7d43e2987bcc061ab4e964c05a1bf04 |