Classes | Public Member Functions | List of all members
UCorrelator::KDE2D Class Reference

Classes

struct  KDE2DOptions
 

Public Member Functions

 KDE2D (int n, const double *x, const double *y, const double *weights=0, KDE2DOptions=KDE2DOptions())
 
double operator() (double x, double y) const
 
double operator() (const double *X, const double *Par=0) const
 
void getNSigmaBounds (double nsigma, double &xmin, double &xmax, double &ymin, double &ymax) const
 
TF2 * makeTF2 (const char *name="kde2d", double nsigma_bound=3) const
 
TH2 * makeTH2 (double binwidth_x=0, double binwidth_y=0, const char *name="hkde2d", const char *title="Kernel Density Estimator", double n_sigma_bound=3, double auto_factor=0.25) const
 
unsigned getN () const
 
double getX (int i) const
 
double getY (int i) const
 
double getWeight (int i) const
 

Detailed Description

Definition at line 14 of file UCKDE.h.

Member Function Documentation

TH2 * UCorrelator::KDE2D::makeTH2 ( double  binwidth_x = 0,
double  binwidth_y = 0,
const char *  name = "hkde2d",
const char *  title = "Kernel Density Estimator",
double  n_sigma_bound = 3,
double  auto_factor = 0.25 
) const

make a histogram. by default, bin width will be auto_factor of smallest sigma x or y

Definition at line 200 of file UCKDE.cc.


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