Skip to content

Commit d5aa145

Browse files
authored
README.md
1 parent 3582b25 commit d5aa145

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
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.
22

3-
INSTALLATION/REQUIREMENTS:
4-
Python > 3.11.8
3+
**INSTALLATION/REQUIREMENTS:**
54

6-
Numpy
5+
Python and Numpy
76

8-
ALGORITHM DESCRIPTION - inputs - FGP(data, values, q, c, error)
9-
Data centers (x_i) and values at those points (f_i)
7+
**ALGORITHM DESCRIPTION** - inputs - FGP(data, values, q, c, error)
8+
Data centers ($x_i$) and values at those points ($f_i$)
109

1110
Error
1211

13-
Two parameters for the algorithm - q and c:
12+
Two parameters for the algorithm - $q$ and $c$:
1413

15-
c>0, using a smaller value (O(10^-1) or smaller) is advised. This is the 'shape parameter' for the multiquadric.
14+
$c>0$, using a smaller value ($O(10^{-1})$ or smaller) is advised. This is the 'shape parameter' for the multiquadric.
1615

17-
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.
16+
$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.
1817

19-
ALGORITHM DESCRIPTION - outputs
18+
**ALGORITHM DESCRIPTION** - outputs
2019

2120
Iteration count - k
2221

2322
The interpolant, s(x) is of the form
2423

25-
$s(x) = sum_i^n lambda_i phi(x-x_i) + alpha$
24+
$s(x) = \sum_i^n \lambda_i \phi(\|x-x_i\|) + \alpha$
2625

27-
where the x_i are the data centers and phi(x) = (x^2+c^2)^0.5 is the multiquadric radial basis function.
26+
where the $x_i$ are the data centers and $\phi(x) = (x^2+c^2)^{\frac{1}{2}}$ is the multiquadric radial basis function.
2827

2928
The algorithm returns the coefficients lambda_i and the value of alpha.
3029

0 commit comments

Comments
 (0)