libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Macros | Functions
processing.cpp File Reference
#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"
Include dependency graph for processing.cpp:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Macros

#define USE_CENTRAL
 

Functions

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 &params)
 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...
 

Macro Definition Documentation

◆ USE_CENTRAL

#define USE_CENTRAL