|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <BackgroundCell.h>
Public Member Functions | |
| BackgroundCell (const PIXTYPE *cellData, const size_t ndata, const PIXTYPE *cellWeight=NULL, const PIXTYPE weightThresh=BIG) | |
| virtual | ~BackgroundCell () |
| void | run () |
| void | getBackgroundValues (PIXTYPE &meanVal, PIXTYPE &sigmaVal) |
| void | getBackgroundValues (PIXTYPE &meanVal, PIXTYPE &sigmaVal, PIXTYPE &whtMeanVal, PIXTYPE &whtSigmaVal) |
| void | getBackgroundValuesOld (PIXTYPE &meanVal, PIXTYPE &sigmaVal) |
Private Member Functions | |
| void | getStats (const PIXTYPE *cellData, const size_t &ndata, double &mean, double &sigma, size_t &statNData) |
| void | getStatsWeight (const PIXTYPE *cellData, const size_t &ndata, const PIXTYPE *cellWeight, const PIXTYPE weightThresh, double &mean, double &sigma, size_t &statNData, double &weightMean, double &weightSigma, size_t &statNWeight) |
Private Attributes | |
| const PIXTYPE * | itsCellData |
| const PIXTYPE * | itsCellWeight |
| size_t | itsNdata =0 |
| BackgroundHistogram * | itsHisto = NULL |
| BackgroundHistogram * | itsWeightHisto = NULL |
| bool | itsHasWeight =false |
| PIXTYPE | itsWeightThresh =BIG |
| double | itsMean =0.0 |
| double | itsSigma =0.0 |
| double | itsWeightMean =0.0 |
| double | itsWeightSigma =0.0 |
| size_t | itsStatNData =0 |
| size_t | itsStatNWeight =0 |
Definition at line 32 of file BackgroundCell.h.
| SourceXtractor::BackgroundCell::BackgroundCell | ( | const PIXTYPE * | cellData, |
| const size_t | ndata, | ||
| const PIXTYPE * | cellWeight = NULL, |
||
| const PIXTYPE | weightThresh = BIG |
||
| ) |
Definition at line 34 of file BackgroundCell.cpp.
References getStats(), getStatsWeight(), itsCellData, itsCellWeight, itsHasWeight, itsHisto, itsMean, itsNdata, itsSigma, itsStatNData, itsStatNWeight, itsWeightHisto, itsWeightMean, itsWeightSigma, and itsWeightThresh.
|
virtual |
Definition at line 56 of file BackgroundCell.cpp.
References itsHisto, and itsWeightHisto.
Definition at line 64 of file BackgroundCell.cpp.
References SourceXtractor::BackgroundHistogram::addDatum(), BIG, SourceXtractor::BackgroundHistogram::getBackGuess(), itsCellData, itsHisto, SourceXtractor::BackgroundHistogram::itsMean, itsNdata, and SourceXtractor::BackgroundHistogram::itsSigma.
Referenced by SourceXtractor::SE2BackgroundModeller::createSE2Models().
| void SourceXtractor::BackgroundCell::getBackgroundValues | ( | PIXTYPE & | meanVal, |
| PIXTYPE & | sigmaVal, | ||
| PIXTYPE & | whtMeanVal, | ||
| PIXTYPE & | whtSigmaVal | ||
| ) |
Definition at line 92 of file BackgroundCell.cpp.
References SourceXtractor::BackgroundHistogram::addDatum(), BIG, SourceXtractor::BackgroundHistogram::getBackGuess(), itsCellData, itsCellWeight, itsHasWeight, itsHisto, SourceXtractor::BackgroundHistogram::itsMean, itsNdata, SourceXtractor::BackgroundHistogram::itsSigma, itsWeightHisto, and itsWeightThresh.
| void SourceXtractor::BackgroundCell::getBackgroundValuesOld | ( | PIXTYPE & | meanVal, |
| PIXTYPE & | sigmaVal | ||
| ) |
Definition at line 147 of file BackgroundCell.cpp.
References BIG, SourceXtractor::BackgroundHistogram::getBackGuess(), itsMean, itsSigma, and itsStatNData.
|
private |
Definition at line 175 of file BackgroundCell.cpp.
References BACK_FKAPPA, BACK_MINGOODFRAC, BIG, std::numeric_limits::epsilon(), and std::sqrt().
Referenced by BackgroundCell().
|
private |
Definition at line 245 of file BackgroundCell.cpp.
References BACK_FKAPPA, BACK_MINGOODFRAC, BIG, std::numeric_limits::epsilon(), and std::sqrt().
Referenced by BackgroundCell().
| void SourceXtractor::BackgroundCell::run | ( | ) |
|
private |
Definition at line 49 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValues().
|
private |
Definition at line 50 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValues().
|
private |
Definition at line 58 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValues().
|
private |
Definition at line 55 of file BackgroundCell.h.
Referenced by BackgroundCell(), getBackgroundValues(), and ~BackgroundCell().
|
private |
Definition at line 61 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValuesOld().
|
private |
Definition at line 53 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValues().
|
private |
Definition at line 62 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValuesOld().
|
private |
Definition at line 65 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValuesOld().
|
private |
Definition at line 66 of file BackgroundCell.h.
Referenced by BackgroundCell().
|
private |
Definition at line 56 of file BackgroundCell.h.
Referenced by BackgroundCell(), getBackgroundValues(), and ~BackgroundCell().
|
private |
Definition at line 63 of file BackgroundCell.h.
Referenced by BackgroundCell().
|
private |
Definition at line 64 of file BackgroundCell.h.
Referenced by BackgroundCell().
Definition at line 59 of file BackgroundCell.h.
Referenced by BackgroundCell(), and getBackgroundValues().
1.8.14