SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
SourceXtractor::BackgroundHistogram Class Reference

#include <BackgroundHistogram.h>

Collaboration diagram for SourceXtractor::BackgroundHistogram:
[legend]

Public Member Functions

 BackgroundHistogram (const double &mean, const double &sigm, const size_t &ndata)
 
virtual ~BackgroundHistogram ()
 
void addDatum (const PIXTYPE &pixVal)
 
void getBackGuessMod (PIXTYPE &bckVal, PIXTYPE &sigmaVal)
 
void getBackGuess (PIXTYPE &bckVal, PIXTYPE &sigmaVal)
 

Public Attributes

double itsMean =0.0
 
double itsSigma =0.0
 

Private Attributes

size_t itsStatNData =0
 
float itsQzero = 0.0
 
float itsQscale = 0.0
 
float itsCste = 0.0
 
int * itsHisto =NULL
 
size_t itsNLevels =0
 

Detailed Description

Definition at line 34 of file BackgroundHistogram.h.

Constructor & Destructor Documentation

SourceXtractor::BackgroundHistogram::BackgroundHistogram ( const double &  mean,
const double &  sigm,
const size_t ndata 
)

Definition at line 32 of file BackgroundHistogram.cpp.

References itsCste, itsHisto, itsMean, itsNLevels, itsQscale, itsQzero, itsSigma, itsStatNData, QUANTIF_AMIN, QUANTIF_NMAXLEVELS, QUANTIF_NSIGMA, and std::sqrt().

Here is the call graph for this function:

SourceXtractor::BackgroundHistogram::~BackgroundHistogram ( )
virtual

Definition at line 67 of file BackgroundHistogram.cpp.

References itsHisto.

Member Function Documentation

void SourceXtractor::BackgroundHistogram::addDatum ( const PIXTYPE pixVal)
void SourceXtractor::BackgroundHistogram::getBackGuess ( PIXTYPE bckVal,
PIXTYPE sigmaVal 
)

Definition at line 223 of file BackgroundHistogram.cpp.

References BACK_EPS, std::fabs(), itsHisto, itsMean, itsNLevels, itsQscale, itsQzero, itsSigma, and std::sqrt().

Referenced by SourceXtractor::BackgroundCell::getBackgroundValues(), and SourceXtractor::BackgroundCell::getBackgroundValuesOld().

Here is the call graph for this function:

void SourceXtractor::BackgroundHistogram::getBackGuessMod ( PIXTYPE bckVal,
PIXTYPE sigmaVal 
)

Definition at line 108 of file BackgroundHistogram.cpp.

References BACK_EPS, std::fabs(), itsHisto, itsMean, itsNLevels, itsQscale, itsQzero, itsSigma, and std::sqrt().

Here is the call graph for this function:

Member Data Documentation

float SourceXtractor::BackgroundHistogram::itsCste = 0.0
private

Definition at line 54 of file BackgroundHistogram.h.

Referenced by addDatum(), and BackgroundHistogram().

int* SourceXtractor::BackgroundHistogram::itsHisto =NULL
private
double SourceXtractor::BackgroundHistogram::itsMean =0.0
size_t SourceXtractor::BackgroundHistogram::itsNLevels =0
private

Definition at line 57 of file BackgroundHistogram.h.

Referenced by addDatum(), BackgroundHistogram(), getBackGuess(), and getBackGuessMod().

float SourceXtractor::BackgroundHistogram::itsQscale = 0.0
private

Definition at line 53 of file BackgroundHistogram.h.

Referenced by addDatum(), BackgroundHistogram(), getBackGuess(), and getBackGuessMod().

float SourceXtractor::BackgroundHistogram::itsQzero = 0.0
private

Definition at line 52 of file BackgroundHistogram.h.

Referenced by BackgroundHistogram(), getBackGuess(), and getBackGuessMod().

double SourceXtractor::BackgroundHistogram::itsSigma =0.0
size_t SourceXtractor::BackgroundHistogram::itsStatNData =0
private

Definition at line 50 of file BackgroundHistogram.h.

Referenced by BackgroundHistogram().


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