libatomprobe
Library for Atom Probe Tomography (APT) computation
|
#include <atomprobe/atomprobe.h>
#include <gsl/gsl_histogram2d.h>
#include <iostream>
#include <cstdlib>
#include <vector>
#include <fstream>
Go to the source code of this file.
Enumerations | |
enum | { ERR_BAD_ARGS, ERR_BAD_EPOS_READ, ERR_BAD_NUMSAMPLES, ERR_NOMEM } |
Functions | |
bool | convertToPos (const vector< EPOS_ENTRY > &epos, vector< IonHit > &pos) |
bool | dumpHistogram (gsl_histogram2d *h, const char *outFile) |
void | filterEposByPulse (const vector< EPOS_ENTRY > &input, unsigned int filterCount, vector< EPOS_ENTRY > &output) |
int | main (int argc, const char *argv[]) |
anonymous enum |
Enumerator | |
---|---|
ERR_BAD_ARGS | |
ERR_BAD_EPOS_READ | |
ERR_BAD_NUMSAMPLES | |
ERR_NOMEM |
Definition at line 33 of file pulse-filter.cpp.
bool convertToPos | ( | const vector< EPOS_ENTRY > & | epos, |
vector< IonHit > & | pos | ||
) |
Definition at line 42 of file pulse-filter.cpp.
bool dumpHistogram | ( | gsl_histogram2d * | h, |
const char * | outFile | ||
) |
Definition at line 64 of file pulse-filter.cpp.
void filterEposByPulse | ( | const vector< EPOS_ENTRY > & | input, |
unsigned int | filterCount, | ||
vector< EPOS_ENTRY > & | output | ||
) |
Definition at line 84 of file pulse-filter.cpp.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 102 of file pulse-filter.cpp.
References AtomProbe::chunkLoadEposFile(), ERR_BAD_ARGS, ERR_BAD_EPOS_READ, filterEposByPulse(), AtomProbe::ProgressBar::finish(), AtomProbe::ProgressBar::init(), AtomProbe::RECORDREAD_ERR_STRINGS, AtomProbe::savePosFile(), AtomProbe::ProgressBar::setLength(), AtomProbe::stream_cast(), and AtomProbe::ProgressBar::update().