Home | Trees | Indices | Help |
|
---|
|
Library of common model equation primitives.
Contains functions, expressions, etc.
|
|||
threshold = ModelLibrary('threshold', spectype= Fun, pars= {'k
|
|||
tanh_spec = Fun('1+tanh(x/k)', ['x'], 'tanh_thresh')
|
|||
logistic_spec = Fun('1/(1+exp(-k*x))', ['x'], 'logistic_thresh')
|
|||
alg_spec = Fun('0.5*(1+x/(sqrt(k+x*x)))', ['x'], 'algebraic_th
|
|||
linear_decay = ModelLibrary('linear_decay', spectype= Fun, par
|
|
threshold
|
alg_spec
|
linear_decay
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 2 23:44:18 2012 | http://epydoc.sourceforge.net |