BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class Biweight( Kernel )Source

Biweight is a Kernel function between [-1,1]; it is 0 elsewhere.

  K( x ) = ( 1-x2 )2 if |x| < 1 else 0

Author: Do Kester

Biweight( )

Constructor.

Using
     integral = 16.0/15.0
     fwhm = 1.0823922

result( x )
Return the result one input values.

Parameters

  • x : array-like
         input values

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

Parameters

  • x : array-like
         squared input values

partial( x )
Return the partial derivative wrt the input values.

Parameters

  • x : array-like
         the input values

isBound( )

Return True

name( )

Return the name of the kernel

Methods inherited from Kernel