Polyharmonic spline interpolation in PyTorch
PyHarmX is a PyTorch module designed for efficient polyharmonic spline interpolation. Leveraging GPU acceleration, this implementation excels in performance, making it well-suited for large-scale interpolation tasks.
Install PyHarmX using the following command:
pip install pyharmxPyHarmX has minimal dependencies, requiring only PyTorch and NumPy.
If you're interested in contributing or want to use PyHarmX in developer/editable mode with test dependencies, install it as follows:
pip install -e pyharmx[test]To run the tests, simply execute:
pytest <path-to-pyharmx>Check out the examples provided in the repository to see PyHarmX in action. Please see the documentation website for a detailed user guide.
If you find this package useful, please cite:
@software{ivan_zanardi_2025_pyharmx,
author = {Ivan Zanardi},
title = {PyHarmX},
month = {06},
year = {2025},
publisher = {Zenodo},
version = {v0.1.6},
doi = {10.5281/zenodo.15643936},
url = {https://doi.org/10.5281/zenodo.15643936}
}PyHarmX is distributed under the MIT License. Feel free to use, modify, and contribute to this project within the terms of the license.