HyperPlot  v1
Bin and visualise multidimensional datasets
Public Member Functions | Private Attributes | List of all members
UniformBinning Class Reference

Detailed Description

HyperPlot, Author: Sam Harnew, sam.h.nosp@m.arne.nosp@m.w@gma.nosp@m.il.c.nosp@m.om , Date: Dec 2015

Uniform binning

Definition at line 44 of file UniformBinning.h.

#include <UniformBinning.h>

Inheritance diagram for UniformBinning:
BinningBase

Public Member Functions

 UniformBinning (HyperCuboid limits, int nLocalBins)
 The only constructor.
 
 UniformBinning (HyperCuboid limits, std::vector< int > nLocalBins)
 
int getNumLocalBins (int dimension) const
 
int getGlobalBinNumber (std::vector< int > localBinNumbers) const
 
std::vector< int > getLocalBinNumbers (int globalBinNumber) const
 
int getLocalBinNumber (int dim, double val) const
 
std::vector< int > getLocalBinNumbers (const HyperPoint &coords) const
 
double getLowBinEdgeLocal (int dim, int localBinNum) const
 
double getHighBinEdgeLocal (int dim, int localBinNum) const
 
HyperPoint getLowCorner (int globalBinNum) const
 
HyperPoint getHighCorner (int globalBinNum) const
 
virtual void load (TString filename, TString option="READ")
 
virtual BinningBaseclone () const
 
virtual void save (TString filename) const
 
virtual void save () const
 
virtual void mergeBinnings (const BinningBase &other)
 
virtual int getNumBins () const
 
virtual int getBinNum (const HyperPoint &coords) const
 
virtual HyperVolume getBinHyperVolume (int binNumber) const
 
virtual HyperPoint getAverageBinWidth () const
 
virtual HyperCuboid getLimits () const
 
- Public Member Functions inherited from BinningBase
void setNames (HyperName names)
 
HyperName getNames () const
 
const int & getDimension () const
 
double getMin (int dimension) const
 
double getMax (int dimension) const
 
TString getBinningType () const
 
bool isSameBinningType (const BinningBase &other) const
 
virtual bool isDiskResident () const
 
virtual TString filename () const
 
virtual void reserveCapacity (int nElements)
 
virtual std::vector< int > getBinNum (const HyperPointSet &coords) const
 

Private Attributes

HyperCuboid _limits
 
std::vector< int > _nLocalBins
 

Additional Inherited Members

- Protected Member Functions inherited from BinningBase
virtual void setDimension (int dimension)
 
void setBinningType (TString binningType)
 

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