Discover and explore top open-source AI tools and projects—updated daily.
treverhinesRadial basis function library for scientific applications
Top 100.0% on SourcePulse
Radial Basis Function (RBF) applications are addressed by the treverhines/RBF Python package, offering tools for interpolating scattered N-dimensional data and solving partial differential equations (PDEs) over irregular domains. It targets researchers and engineers needing accurate, meshfree approximation methods, drawing from established RBF literature to simplify complex numerical tasks and enable precise data reconstruction and PDE solutions.
How It Works
The package's core functionality lies in RBF interpolation and its application to PDEs. For PDE solving, it supports both a spectral RBF method, suitable for small-scale problems, and the more scalable Radial Basis Function Finite Difference (RBF-FD) method. The RBF-FD approach is emphasized for its ability to handle large-scale problems without manual shape parameter tuning (when using polyharmonic splines) and for achieving higher accuracy via increased stencil sizes or polynomial orders. A GaussianProcess class is also integrated for Bayesian statistical regression.
Quick Start & Requirements
pip install treverhines-rbf.numpy, matplotlib, and scipy.python -m unittest discover from the test directory.Highlighted Details
RBF class: Evaluates RBFs and their exact derivatives.RBFInterpolant: Interpolates scattered N-dimensional data, supporting exact derivative evaluation.weight_matrix: Generates RBF-FD weights for PDE discretization.poisson_disc_nodes for creating node distributions.GaussianProcess: Implements Gaussian Process Regression (GPR).Maintenance & Community
The provided README content does not detail specific maintenance practices, community channels (e.g., Discord, Slack), or a public roadmap.
Licensing & Compatibility
The license type and any restrictions for commercial use or integration with closed-source projects are not specified in the README.
Limitations & Caveats
The spectral RBF method for PDE solving is limited to small-scale problems and requires careful shape parameter selection. The RBF-FD method is generally recommended for its scalability and robustness.
4 months ago
1 day
breandan
patrick-kidger
mratsim
LuChengTHU
patrick-kidger
ddbourgin