Implemented in rust with a python interface.
You need the rust compiler installed:
Installation from pypi:
bash
pip install konnoohmachi
Installation from source:
bash
pip install .
This smoothes some random numbers:
```python import konnoohmachi import numpy as np
b = 10 n = 1000 freqs = np.arange(n) amplitudes = np.random.rand(n) smoothed = konnoohmachi.smooth(freqs, amplitudes, b) ```