libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Functions
histogram.h File Reference
#include <vector>
#include "atomprobe/primitives/ionHit.h"
#include "atomprobe/helper/aptAssert.h"
#include <gsl/gsl_histogram.h>
#include <limits>
Include dependency graph for histogram.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Functions

bool AtomProbe::correlationHistogram (const std::vector< EPOS_ENTRY > &eposIons, std::vector< std::vector< unsigned int > > &histogram, float stepMass, float endMass, bool lowerTriangular=false)
 Generates an ion "correlation histogram" from a vector of EPOS ions. The input vector MUST More...
 
bool AtomProbe::accumulateCorrelationHistogram (const std::vector< EPOS_ENTRY > &eposIons, std::vector< std::vector< unsigned int > > &histogram, float stepMass, float endMass, bool lowerTriangular=true)
 Increments a correlation histogram, as per correlationHistogram,. More...
 
template<class T >
void AtomProbe::linearHistogram (const std::vector< T > &data, T start, T end, T step, std::vector< T > &histVals)