#include <vector>
#include <algorithm>
#include <cmath>
#include <limits>
#include <string>
#include <random>
#include <gsl/gsl_sf_erf.h>
#include <gsl/gsl_histogram.h>
#include "atomprobe/spectrum/processing.h"
#include "atomprobe/helper/misc.h"
#include "atomprobe/helper/maths/misc.h"
#include "atomprobe/helper/aptAssert.h"
Go to the source code of this file.
|
template<class T > |
bool | AtomProbe::andersonDarlingStatistic (std::vector< T > vals, float &meanV, float &stdevVal, float &statistic, size_t &undefCount, bool computeMeanAndStdev=true) |
|
void | AtomProbe::makeHistogram (const vector< float > &data, float start, float end, float step, vector< float > &histVals) |
|
std::string | AtomProbe::getFitErrorMsg (unsigned int errCode) |
|
unsigned int | AtomProbe::doFitBackground (const std::vector< float > &massData, BACKGROUND_PARAMS ¶ms) |
| Perform a background fit, assuming constant TOF noise, from 0->inf time. More...
|
|
void | AtomProbe::createMassBackground (float massStart, float massEnd, unsigned int nBinsMass, float tofBackIntensity, std::vector< float > &histogram) |
| Build a histogram of the background counts. More...
|
|
void | AtomProbe::diff (const vector< float > &in, vector< float > &out) |
|
void | AtomProbe::findPeaks (const std::vector< float > &x0, std::vector< unsigned int > &peakInds, float sel, bool autoSel=true, bool includeEndpoints=true) |
| Simple peak-finding algorithm. More...
|
|
◆ USE_CENTRAL