npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::MemoizingSymbetaFilterProvider Class Reference
Inheritance diagram for npstat::MemoizingSymbetaFilterProvider:
npstat::SimpleSymbetaFilterProvider npstat::AbsSymbetaFilterProvider

Public Member Functions

virtual CPP11_shared_ptr< const LocalPolyFilter1DprovideFilter (int symbetaPower, double bandwidth, double degree, unsigned nbins, double binwidth, const BoundaryHandling &bm, unsigned excludedBin, bool excludeCentralPoint)
 
unsigned long nMemoized () const
 
void firstMemoizedInfo (int *symbetaPower, double *bandwidth, double *degree, unsigned *nbins, double *binwidth, BoundaryHandling *bm, unsigned *excludedBin, bool *excludeCentralPoint) const
 
std::vector< double > knownBandwidthValues () const
 
bool operator== (const MemoizingSymbetaFilterProvider &r) const
 
bool operator!= (const MemoizingSymbetaFilterProvider &r) const
 
gs::ClassId classId () const
 
bool write (std::ostream &of) const
 
- Public Member Functions inherited from npstat::AbsSymbetaFilterProvider
virtual void startMemoizing ()
 
virtual void stopMemoizing ()
 
virtual bool isMemoizing () const
 

Static Public Member Functions

static const char * classname ()
 
static unsigned version ()
 
static void restore (const gs::ClassId &id, std::istream &in, MemoizingSymbetaFilterProvider *ptr)
 

Member Function Documentation

◆ provideFilter()

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

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.

Reimplemented from npstat::SimpleSymbetaFilterProvider.


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