akima

Akima interpolation.

https://github.com/cgohlke/akima

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

interpolation python
Last synced: 6 months ago · JSON representation

Repository

Akima interpolation.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
interpolation python
Created almost 6 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.rst

..
  This file is generated by setup.py

Akima Interpolation
===================

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: `Christoph Gohlke `_
:License: BSD-3-Clause
:Version: 2025.8.1

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

- `CPython `_ 3.11.9, 3.12.10, 3.13.5, 3.14.0rc 64-bit
- `NumPy `_ 2.3.2

Revisions
---------

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

- Drop support for Python 3.7 (NEP 29).
- Update metadata.

Examples
--------
.. code-block:: python

    >>> 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()

Owner

  • Name: Christoph Gohlke
  • Login: cgohlke
  • Kind: user
  • Location: Irvine, California

GitHub Events

Total
  • Push event: 2
  • Create event: 1
Last Year
  • Push event: 2
  • Create event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 53
  • Total Committers: 1
  • Avg Commits per committer: 53.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Christoph Gohlke c****e@u****u 53
Committer Domains (Top 20 + Academic)
uci.edu: 1

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ijustlovemath (1)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 1,190 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 4
  • Total versions: 10
  • Total maintainers: 1
pypi.org: akima

Akima Interpolation

  • Versions: 10
  • Dependent Packages: 1
  • Dependent Repositories: 4
  • Downloads: 1,190 Last month
Rankings
Dependent repos count: 7.5%
Dependent packages count: 10.0%
Downloads: 16.0%
Average: 19.0%
Forks count: 29.8%
Stargazers count: 31.9%
Maintainers (1)
Last synced: 7 months ago

Dependencies

setup.py pypi
  • numpy >=1.19.2
.github/workflows/wheel.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • pypa/cibuildwheel v2.18.1 composite
pyproject.toml pypi