| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Function misfit evaluation for best-fit tanh curve
f(x[:]) = alpha*tanh(beta*x[:])
alpha = params[0]
beta = params[1]
funk(params) = sqrt(sum((y[:] - f(x[:]))**2)/len(y[:]))
Output is RMS misfit
x=xx[0][:]
y=xx[1][:]q
|
|
Calculate TRM using tanh relationship TRM(f)=a*math.tanh(b*f) |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Wed Jan 23 14:19:21 2008 | http://epydoc.sourceforge.net |