Skip to content

Commit 436aec8

Browse files
authored
README.md
1 parent 79ac571 commit 436aec8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
This is a Python implementation of the Faul-Goodsen-Powell algorithm which produces an interpolant for d-dimensional data using the multiquadric radial basis functions. It works well for even very high dimensional data.
2+
3+
INSTALLATION/REQUIREMENTS:
4+
Python > 3.11.8
5+
Numpy
6+
7+
ALGORITHM DESCRIPTION - inputs - FGP(data, values, q, c, error)
8+
Data centers (x_i) and values at those points (f_i)
9+
Error
10+
Two parameters for the algorithm - q and c:
11+
c>0, using a smaller value (O(10^-1) or smaller) is advised. This is the 'shape parameter' for the multiquadric.
12+
q>0, using a value of q=30 is standard - feel free to go between 5 and 50. A rule of thumb is that smaller q means each iteration is quicker, but we may need more iterations for convergence overally.
13+
14+
ALGORITHM DESCRIPTION - outputs
15+
Iteration count - k
16+
17+
18+
The interpolant, s(x) is of the form
19+
20+
s(x) = sum_i^n lambda_i phi(x-x_i) + alpha
21+
22+
where the x_i are the data centers and phi(x) = (x^2+c^2)^0.5 is the multiquadric radial basis function.
23+
24+
The algorithm returns the coefficients lambda_i and the value of alpha.
25+
26+
You can try the DEMO version or use the FULL IMPLEMENTATION version as well.
27+
28+
The DEMO version lets you vary the distribution that the test data is drawn from:
29+
The unit d-ball
30+
The unit d-cube
31+
The unit d-Normal
32+
The integer grid in d-dimensions.

0 commit comments

Comments
 (0)