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.
This module is no longer being actively developed. Consider using scipy.interpolate.Akima1DInterpolator instead.
- Author:
- License:
BSD-3-Clause
- Version:
2026.8.8
Quickstart
Install the akima package and all dependencies from the Python Package Index:
python -m pip install -U akima
See Examples for using the programming interface.
Source code, examples, and support are available on GitHub.
Requirements
This revision was tested with the following requirements and dependencies (other versions may work):
Revisions
2026.8.8
Make C extension ABI3 and free-threading compatible.
Drop support for Python 3.11 and numpy 2.0 (SPEC0).
Support Python 3.15.
2026.1.18
Use multi-phase initialization.
Improve code quality.
2025.8.1
Drop support for Python 3.10, support Python 3.14.
2025.1.1
Drop support for Python 3.9, support Python 3.13.
2024.5.24
Fix docstring examples not correctly rendered on GitHub.
Support NumPy 2.
2024.1.6
Add type hints.
Drop support for Python 3.8 and numpy 1.22 (NEP 29).
2022.9.12
…
Refer to the CHANGES file for older revisions.
Examples
>>> import numpy
>>> 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()
Release files for akima 2026.8.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| akima-2026.8.8.tar.gz | 11.8 kB | Details |
Built distributions (wheels)
Total release size: 480.3 kB
Release files / akima-2026.8.8.tar.gz
| Download URL | akima-2026.8.8.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78dcb7606e5ab8e6d3559c2435eff98e521d1fa9c38083563e907154461c5bd5
|
|
BLAKE2b-256 checksum How to use checksums |
1f755cb777e9164cd49309cb74012332cd78bbbce64dc6b168e61f76b1d152ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-win_arm64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-win_arm64.whl |
|---|---|
| Size | 15.9 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading Windows ARM64 |
|
SHA-256 checksum How to use checksums |
a2b27ff29e10db7acc0eaeca8868d9adae641055908528f6170741af4cf07b4a
|
|
BLAKE2b-256 checksum How to use checksums |
1de4da05e69650297cc73dca0d3f9ac1f1d57fe8920a6aa0b918e5bf83496a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-win_amd64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-win_amd64.whl |
|---|---|
| Size | 16.7 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fff1c4e4d1a17e890455547a7a10c25c27f0a273f95ccdb43dd10c0cab0fcc41
|
|
BLAKE2b-256 checksum How to use checksums |
c41bdcae415908af9ebdd1409e97193c6d41b3792a209737065795801905c2d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-win32.whl
| Download URL | akima-2026.8.8-cp315-cp315t-win32.whl |
|---|---|
| Size | 16.0 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading Windows x86-32 |
|
SHA-256 checksum How to use checksums |
f71a8629fd49ce27420b71f5fc4b283ead5854ac622683828f7300a3fd7f1538
|
|
BLAKE2b-256 checksum How to use checksums |
886f6104ddb515360065470e860e3d67d7a2f074dd1e289f50770934325a027a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 38.0 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
b7726f5372eaba00ffa6ad4fcd6259408a222a9f93b5d60d4ec5146b14078900
|
|
BLAKE2b-256 checksum How to use checksums |
5051781f09c2687b54193121da6723991c5245c714a971fd18e82ce443701097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 36.9 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
861d06b6e2ebe2292b2403d59dc495b8b08390901a0cedd208548885f1241682
|
|
BLAKE2b-256 checksum How to use checksums |
bf042aa67853fcec29c63d071cdc8cf8a778c853b0ad554898a7d1574811eb0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-macosx_11_0_arm64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-macosx_11_0_arm64.whl |
|---|---|
| Size | 14.2 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d5ea8387316eeb3cbdef8801e28ad67d09ab70b4f2648c0518c6e48c7f128a22
|
|
BLAKE2b-256 checksum How to use checksums |
839e4c81a0c7394ba414b9b3a12da9ad9bcf8e88107b90d78311062651bde801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp315-cp315t-macosx_10_15_x86_64.whl
| Download URL | akima-2026.8.8-cp315-cp315t-macosx_10_15_x86_64.whl |
|---|---|
| Size | 13.7 kB |
| Tags | CPython 3.15 CPython 3.15 free-threading macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
85bb39a8cf5e7de9767b89c1027ff4b31501ed34b2ab5a87060a54de1477f5ab
|
|
BLAKE2b-256 checksum How to use checksums |
ea5b9885d3bb1c7bb683d92a795586f8cb96a608c1f4c38765e3cf966c8e5ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-win_arm64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-win_arm64.whl |
|---|---|
| Size | 15.9 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows ARM64 |
|
SHA-256 checksum How to use checksums |
376a03023fa2be0ed2834c5240537d2b597d33fd6d21cb67b28452bf2cabbaa8
|
|
BLAKE2b-256 checksum How to use checksums |
8dde5a585b3777f1b32d4b013d1ceca2b154fb944d828d82140c925b3f8cfb52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-win_amd64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 16.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
39e95bd233c6ce9a5ae7887c7d5587738296914174186fb308a95efd99129474
|
|
BLAKE2b-256 checksum How to use checksums |
f4f9bdbfa028f898ca5eef26497789888b7c4d80f93961ca80f8a9ba99fa57c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-win32.whl
| Download URL | akima-2026.8.8-cp314-cp314t-win32.whl |
|---|---|
| Size | 16.0 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d8d77477038cd2a46c0eaa277b332ab5800a3517501362797f99275abbe25c27
|
|
BLAKE2b-256 checksum How to use checksums |
f467dd7a34740d5c16e1a6c09887bb6cc4175f39c3638b3603b5a8f6d06766e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 37.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c14929c90d5eaca1c59fe21a3c5dc4fd484bbf2e4aac3c2571ddea6c6a2b94af
|
|
BLAKE2b-256 checksum How to use checksums |
a15b129cdb3b939746536a8f2401ead3e05dc55341c3f9913b4e4ba48963f68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 36.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
1ac9b1202b5cf96052fb2ccbd5089af30b5be833cd7d1e150bc1aefe13f58892
|
|
BLAKE2b-256 checksum How to use checksums |
86b4e650dfd3726a793094865ba365a7edbdef1d8666d9c620986ae7f9f475ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 14.2 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bc44d82dc214a63c6de15bf921480b97defab61886a8bea234bd42681ac6e9a3
|
|
BLAKE2b-256 checksum How to use checksums |
5fded3271f7782673d76b2217fd371344541bcfd9071e106971949161e6f9267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp314-cp314t-macosx_10_15_x86_64.whl
| Download URL | akima-2026.8.8-cp314-cp314t-macosx_10_15_x86_64.whl |
|---|---|
| Size | 13.7 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
e96ff1718bf1a643c149aef37f12919590602262cfc52d952b2220e08d8932e7
|
|
BLAKE2b-256 checksum How to use checksums |
c3c77af876ae573723a86532d2563cb2a5f56d6bb28f7a9d9c6073f83194b902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-win_arm64.whl
| Download URL | akima-2026.8.8-cp312-abi3-win_arm64.whl |
|---|---|
| Size | 15.1 kB |
| Tags | CPython 3.12 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
24369c4fc0d9b2cc11b762b57b99dc256190c074eb8515b23a7f4f25e2195d83
|
|
BLAKE2b-256 checksum How to use checksums |
9017875c82b9855018d157326ea7b6693a7ee68e1caf5aa20924e2102736d78d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-win_amd64.whl
| Download URL | akima-2026.8.8-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 15.9 kB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0d84de3771839a9c3ab07b455f282b3889865ac32cfaa3466d67373331bee41a
|
|
BLAKE2b-256 checksum How to use checksums |
374943aa545ab012032f80f1393e4e3c6dce4962a70bfa3e736bb2f6610190e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-win32.whl
| Download URL | akima-2026.8.8-cp312-abi3-win32.whl |
|---|---|
| Size | 15.1 kB |
| Tags | CPython 3.12 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
5f36ec77ee5cea980d55ef6ce8907862bab483d31394cace6e357236a3b9d215
|
|
BLAKE2b-256 checksum How to use checksums |
764e251a076d26a7128bca95c615d4cf4b4b305009f4ce6ab6ea6f97471a4080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-pyemscripten_2026_5_wasm32.whl
| Download URL | akima-2026.8.8-cp312-abi3-pyemscripten_2026_5_wasm32.whl |
|---|---|
| Size | 11.1 kB |
| Tags | CPython 3.12 PyEmscripten 2026.5+ WebAssembly abi3 |
|
SHA-256 checksum How to use checksums |
93ea09793ef6afc736ef7b938859edca6a43cfc92d85f8cc8a7f79afc4d5525a
|
|
BLAKE2b-256 checksum How to use checksums |
6af517bea41a8da0782d68fbc68bfa89faf775b63377cb8011eeed5f3a4b8242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-pyemscripten_2026_0_wasm32.whl
| Download URL | akima-2026.8.8-cp312-abi3-pyemscripten_2026_0_wasm32.whl |
|---|---|
| Size | 11.1 kB |
| Tags | CPython 3.12 PyEmscripten 2026.0+ WebAssembly abi3 |
|
SHA-256 checksum How to use checksums |
dd9a5b5077ef2bb4f2fe72345cb5393d0662d9f075a3e38cd64c2505dd6d1004
|
|
BLAKE2b-256 checksum How to use checksums |
c248055033a4b83871950270a690ccd24ddf86d6ed1ea5e0cb78eae88e835702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-pyemscripten_2025_0_wasm32.whl
| Download URL | akima-2026.8.8-cp312-abi3-pyemscripten_2025_0_wasm32.whl |
|---|---|
| Size | 11.1 kB |
| Tags | CPython 3.12 PyEmscripten 2025.0+ WebAssembly abi3 |
|
SHA-256 checksum How to use checksums |
ecb798502977b4a6ae6041e8865a7e3c6e8edfafc5876c1e72e3d2c6052a4dcc
|
|
BLAKE2b-256 checksum How to use checksums |
0c867924c9d505f8741e2ded49bf5255fe73e46386c96d786a1bac0b106d257c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | akima-2026.8.8-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 29.9 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
3e9d36301ee3052047e5f92b86f38030e03174daf808082761faadc5d705ea66
|
|
BLAKE2b-256 checksum How to use checksums |
8c55bf552e07f14b95524fb75ff019d15d3312128318e0cab288c1ed418d5485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | akima-2026.8.8-cp312-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 29.5 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
42d2c7f950e95ac7eb6ff6a9f01dc6a5923afc607856463c3059d2dd02a74b20
|
|
BLAKE2b-256 checksum How to use checksums |
648fc31f0ddb873c6d9a620fe2e518e395c68837d1f4fc0d4aebd9d9dfe09b54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | akima-2026.8.8-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 13.8 kB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8cef18fe3f57bf39b8ea02c430d820f796426d4548475565490a100c553fa9a0
|
|
BLAKE2b-256 checksum How to use checksums |
2ec131a746cdbe49141899fb593421f66e437bda49b9577615a421a81bc04eff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / akima-2026.8.8-cp312-abi3-macosx_10_13_x86_64.whl
| Download URL | akima-2026.8.8-cp312-abi3-macosx_10_13_x86_64.whl |
|---|---|
| Size | 13.3 kB |
| Tags | CPython 3.12 abi3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
85d7034d6ce9e8131a6c86c7b8d1ad177350b0c0c57c639d119cfd0e40594483
|
|
BLAKE2b-256 checksum How to use checksums |
260cb1f2b0acd686587b07fc92aee324a2d03233dc5d6f9f4197d2263453e802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|