npstat::LocalPolyFilter1D Class Reference
Inheritance diagram for npstat::LocalPolyFilter1D:
Detailed DescriptionThis class performs local polynomial filtering in one dimension Constructor & Destructor Documentation◆ LocalPolyFilter1D()
Main constructor. The arguments are as follows: taper – Damping factors for each polynomial degree (starting with the 0th order term). This can be NULL in which case it is assumed that all factors are 1. maxDegree – Maximum degree of the polynomials. The length of the "taper" array (if not NULL) must be equal to maxDegree + 1. Note that, far away from the boundaries (where the situation is symmetric) the same filter will be produced using the same taper with an even degree N and with an odd degree N+1. Near the boundaries the filter coefficients will, of course, differ in these two cases. filterBuilder – An instance of a class which actually builds the filters when requested. This builder is used only inside the constructor. dataLen – The length of the data arrays which will be used with this filter (this info is needed in order to take into account the boundary effects). Member Function Documentation◆ convolve()
template<typename Tin , typename Tout >
A diffent filtering method in which the shapes of the kernels are determined by the positions of the "sources" (i.e., sample points) instead of the positions at which the density (or response) is estimated. ◆ dataLen()
Length of the data array Implements npstat::AbsPolyFilter1D. ◆ doublyStochasticFilter()
Generate a doubly stochastic filter out of this one. Such filters are useful for sequential copula smoothing. NULL pointer will be returned in case the requested margin tolerance is positive and can not be reached within the number of iterations allowed. ◆ eigenGroomedFilter()
An experimental filter with an adjusted eigenspectrum ◆ filter()
template<typename Tin , typename Tout >
This method performs the filtering. "dataLen", which is the length of both "in" and "out" arrays, must be the same as the one in the constructor. ◆ getFilter()
Get the filter coefficients for the given bin ◆ getFilterMatrix()
Generate the complete (non-sparse) representation of the filter. It will be a generalized stochastic matrix (each row sums to 1). ◆ selfContribution()
Self contribution needed for cross-validation Implements npstat::AbsPolyFilter1D. ◆ taper()
Inspect object properties The documentation for this class was generated from the following file:
Generated by 1.9.1 |