SourceXtractorPlusPlus  0.15
Please provide a description of the project.
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

◆ BackgroundHistogram()

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:

◆ ~BackgroundHistogram()

SourceXtractor::BackgroundHistogram::~BackgroundHistogram ( )
virtual

Definition at line 67 of file BackgroundHistogram.cpp.

References itsHisto.

Member Function Documentation

◆ addDatum()

void SourceXtractor::BackgroundHistogram::addDatum ( const PIXTYPE pixVal)

◆ getBackGuess()

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:

◆ getBackGuessMod()

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

◆ itsCste

float SourceXtractor::BackgroundHistogram::itsCste = 0.0
private

Definition at line 54 of file BackgroundHistogram.h.

Referenced by addDatum(), and BackgroundHistogram().

◆ itsHisto

int* SourceXtractor::BackgroundHistogram::itsHisto =NULL
private

◆ itsMean

double SourceXtractor::BackgroundHistogram::itsMean =0.0

◆ itsNLevels

size_t SourceXtractor::BackgroundHistogram::itsNLevels =0
private

Definition at line 57 of file BackgroundHistogram.h.

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

◆ itsQscale

float SourceXtractor::BackgroundHistogram::itsQscale = 0.0
private

Definition at line 53 of file BackgroundHistogram.h.

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

◆ itsQzero

float SourceXtractor::BackgroundHistogram::itsQzero = 0.0
private

Definition at line 52 of file BackgroundHistogram.h.

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

◆ itsSigma

double SourceXtractor::BackgroundHistogram::itsSigma =0.0

◆ itsStatNData

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: