npstat::PolyFilterCollection1D Class Reference
Detailed DescriptionCollection of LocalPolyFilter1D objects with different bandwidth values. Filters are stored internally after their corresponding bandwidth values are used for the first time. This class is intended for use with bandwidth scans (for example, in cross-validation scenarios). Constructor & Destructor Documentation◆ PolyFilterCollection1D()
The constructor arguments are as follows: distro – Weight function to use in building the filter. taper – The taper function used to build the filter (can be NULL). maxDegree – Maximum polynomial degree of the filter. If the taper array is provided, its length should be maxDegree + 1. binwidth – Bin width used to bin the data. dataLen – Expected length of the data array to filter. bm – Method used to handle LOrPE weight at the boundary. Member Function Documentation◆ convolve()
template<typename Tin , typename Tout >
This filtering method calls the "convolve" method of LocalPolyFilter1D objects instead of their "filter" method ◆ dataLength()
Inspect object properties ◆ filter()
template<typename Tin , typename Tout >
The method which performs the filtering. "dataLen", which is the length of both "in" and "out" arrays, must be the same as the one provided in the constructor. ◆ getPolyFilter()
Retrive the filter which corresponds to the given bandwidth. If such a filter does not exist yet, construct it first. The documentation for this class was generated from the following file: Generated by 1.9.1 |