RBF  by treverhines

Radial basis function library for scientific applications

Created 10 years ago
250 stars

Top 100.0% on SourcePulse

GitHubView on GitHub
Project Summary

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

  • Installation: Install via pip: pip install treverhines-rbf.
  • Prerequisites: Python environment. Examples utilize numpy, matplotlib, and scipy.
  • Documentation: Comprehensive documentation is available at http://rbf.readthedocs.io.
  • Verification: Test installation with 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.
  • Node Generation: Functions like poisson_disc_nodes for creating node distributions.
  • Computational Geometry: Tools for 2D/3D point-in-polygon testing.
  • 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.

Health Check
Last Commit

4 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Roy Frostig Roy Frostig(Coauthor of JAX; Research Scientist at Google DeepMind), Patrick von Platen Patrick von Platen(Author of Hugging Face Diffusers; Research Engineer at Mistral), and
2 more.

diffrax by patrick-kidger

0.6%
2k
JAX library for numerical differential equation solvers
Created 4 years ago
Updated 1 month ago
Starred by Aravind Srinivas Aravind Srinivas(Cofounder of Perplexity), Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), and
6 more.

numpy-ml by ddbourgin

0.0%
16k
ML algorithms implemented in NumPy
Created 6 years ago
Updated 2 years ago
Feedback? Help us improve.