npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::SimpleSymbetaFilterProvider Class Reference

#include <AbsSymbetaFilterProvider.hh>

Inheritance diagram for npstat::SimpleSymbetaFilterProvider:
npstat::AbsSymbetaFilterProvider npstat::MemoizingSymbetaFilterProvider

Public Member Functions

virtual CPP11_shared_ptr< const LocalPolyFilter1DprovideFilter (const int symbetaPower, const double bandwidth, const double degree, const unsigned nbins, const double binwidth, const BoundaryHandling &bm, const unsigned excludedBin, const bool excludeCentralPoint)
 
- Public Member Functions inherited from npstat::AbsSymbetaFilterProvider
virtual void startMemoizing ()
 
virtual void stopMemoizing ()
 
virtual bool isMemoizing () const
 

Detailed Description

Simple non-memoizing implementation of AbsSymbetaFilterProvider

Member Function Documentation

◆ provideFilter()

virtual CPP11_shared_ptr<const LocalPolyFilter1D> npstat::SimpleSymbetaFilterProvider::provideFilter ( const int  symbetaPower,
const double  bandwidth,
const double  degree,
const unsigned  nbins,
const double  binwidth,
const BoundaryHandling bm,
const unsigned  excludedBin,
const bool  excludeCentralPoint 
)
inlinevirtual

Parameters are:

symbetaPower – This parameter defines which kernel to use. Negative value means use Gaussian.

bandwidth – Kernel bandwidth.

degree – Polynomial degree.

nbins – Number of bins in the discretized dataset.

binwidth – Bin width.

bm – Boundary handling method.

excludedBin – Bin number to exclude. Numbers equal to nbins and larger are to be ignored.

excludeCentralPoint – Exclude central bin from the weight function.

The function should return an instance of LocalPolyFilter1D wrapped into a smart pointer.

Implements npstat::AbsSymbetaFilterProvider.

Reimplemented in npstat::MemoizingSymbetaFilterProvider.


The documentation for this class was generated from the following file: