BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class Lorentz( Kernel )[source]

Lorentz is an unbound Kernel function.

  K( x ) = 1 / ( 1 + x2 )

Lorentz( ) [source]

Constructor.

  Using
  integral = π
  fwhm = 2.0
  range = inf

result( x ) [source]
Return the result for input values.

Parameters

  • x : array-like
         input values

resultsq( xsq ) [source]
Return the result for squared input values.

Parameters

  • x : array-like
         the squares of the input values

partial( x ) [source]
Return the partial derivative wrt the input values.

Parameters

  • x : array-like
         the input values

isBound( ) [source]

Return False

name( ) [source]

Return the name of the kernel

Methods inherited from Kernel