Skip to content

[bluemath_tk\interpolation\rbf.py] Optimize RBF interpolator #36

@tausiaj

Description

@tausiaj

Optimize RBF interpolator class in bluemath_tk\interpolation\rbf.py.
After several usages of the package, it takes a lot of time when thousands of data points are passed to the function.
This is a time example with 6000 points:
2024-12-16 16:50:53,756 - RBF - INFO - Optimal sigma: 0.36305813858503644 - Time: 11000.97 seconds

We discovered a function in scipy that could help the optimization:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RBFInterpolator.html#scipy.interpolate.RBFInterpolator

Or maybe threads implementaion could help!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions