|
|
| VariableBandwidthSmoother1D (unsigned nbins, double xmin, double xmax, int symbetaPower, double bwFactor=1.0, const char *label=0) |
|
int | symbetaPower () const |
|
double | bwFactor () const |
|
| AbsMarginalSmootherBase (unsigned nbins, double xmin, double xmax, const char *axisLabel=0) |
|
void | setAxisLabel (const char *axisLabel) |
|
unsigned | nBins () const |
|
double | xMin () const |
|
double | xMax () const |
|
double | binWidth () const |
|
const std::string & | getAxisLabel () const |
|
gs::AbsArchive * | getArchive () const |
|
const std::string & | getArchiveCategory () const |
|
double | lastBandwidth () const |
|
void | setArchive (gs::AbsArchive *ar, const char *category=0) |
|
void | unsetArchive () |
|
template<typename Numeric > |
const HistoND< double > & | smooth (const std::vector< Numeric > &inputPoints, double minValue=-std::numeric_limits< double >::max(), double maxValue=std::numeric_limits< double >::max(), double *bandwidthUsed=0) |
|
template<typename Numeric > |
const HistoND< double > & | smooth (unsigned long uniqueId, unsigned dimNumber, const std::vector< Numeric > &inputPoints, double minValue=-std::numeric_limits< double >::max(), double maxValue=std::numeric_limits< double >::max(), double *bandwidthUsed=0) |
|
template<typename Numeric > |
const HistoND< double > & | weightedSmooth (const std::vector< std::pair< Numeric, double > > &inputPoints, double minValue=-std::numeric_limits< double >::max(), double maxValue=std::numeric_limits< double >::max(), double *bandwidthUsed=0) |
|
template<typename Numeric > |
const HistoND< double > & | weightedSmooth (unsigned long uniqueId, unsigned multivariatePointDimNumber, const std::vector< std::pair< Numeric, double > > &inputPoints, double minValue=-std::numeric_limits< double >::max(), double maxValue=std::numeric_limits< double >::max(), double *bandwidthUsed=0) |
|
◆ VariableBandwidthSmoother1D()
npstat::VariableBandwidthSmoother1D::VariableBandwidthSmoother1D |
( |
unsigned |
nbins, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
symbetaPower, |
|
|
double |
bwFactor = 1.0 , |
|
|
const char * |
label = 0 |
|
) |
| |
Constructor arguments are as follows:
nbins, xmin, xmax – Parameters for the histogram which will be accumulated using the data sample to be smoothed. nbins should preferrably be a power of 2 (for subsequent FFT).
symbetaPower – Power of the symmetric beta kernel to use. Gaussian kernel chopped of at 12 sigma will be used in case this parameter is negative. This parameter must not exceed 10.
bwFactor – Fudge factor for the bandwidth used for the density estimate.
label – Label for the axis. Useful in case smoothing results are stored for inspection.
◆ symbetaPower()
int npstat::VariableBandwidthSmoother1D::symbetaPower |
( |
| ) |
const |
|
inline |
Simple inspector of object properties
The documentation for this class was generated from the following file:
|