Skip to content

Latest commit

 

History

History
72 lines (54 loc) · 3.58 KB

File metadata and controls

72 lines (54 loc) · 3.58 KB




class Uniform( Kernel )[source]

Uniform is a Kernel function which is constant between [-1,1].

     K( x ) = 1.0 if |x| < 1
              0.0 elsewhere

Uniform( ) [source]

Constructor.

Using
     integral = 2.0
     fwhm = 2.0

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

Parameters

  • x : array-like
         input values

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

Parameters

  • xsq : array-like
         input values

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

Parameters

  • x : array-like
         the input values

isBound( ) [source]

Return True

name( ) [source]

Return the name of the kernel

Methods inherited from Kernel