libatomprobe
Library for Atom Probe Tomography (APT) computation
Macros | Functions | Variables
autocorrelate.cpp File Reference
#include <iostream>
#include <fstream>
#include <limits>
#include "atomprobe/atomprobe.h"
Include dependency graph for autocorrelate.cpp:

Go to the source code of this file.

Macros

#define ASSERT(f)   {}
 

Functions

bool callback ()
 
template<class T >
void dumpAutocorrelation (const vector< vector< T > > &autoCorrelateFunc, const RangeFile &rangeFile, float binStep, std::ostream &strm)
 
int main (int argc, char *argv[])
 

Variables

const unsigned int PROGRESS_BAR_SIZE =50
 
ProgressBartreeProgressBar =0
 
unsigned int treeProgressValue =0
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   f)    {}

Definition at line 35 of file autocorrelate.cpp.

Referenced by dumpAutocorrelation(), and main().

Function Documentation

◆ callback()

bool callback ( )

Definition at line 43 of file autocorrelate.cpp.

References treeProgressValue, and AtomProbe::ProgressBar::update().

Referenced by main().

Here is the call graph for this function:

◆ dumpAutocorrelation()

template<class T >
void dumpAutocorrelation ( const vector< vector< T > > &  autoCorrelateFunc,
const RangeFile rangeFile,
float  binStep,
std::ostream &  strm 
)

Definition at line 59 of file autocorrelate.cpp.

References ASSERT, AtomProbe::RangeFile::getName(), and AtomProbe::RangeFile::getNumIons().

Referenced by main().

Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ PROGRESS_BAR_SIZE

const unsigned int PROGRESS_BAR_SIZE =50

Definition at line 38 of file autocorrelate.cpp.

Referenced by main().

◆ treeProgressBar

ProgressBar* treeProgressBar =0

Definition at line 40 of file autocorrelate.cpp.

Referenced by main().

◆ treeProgressValue

unsigned int treeProgressValue =0

Definition at line 41 of file autocorrelate.cpp.

Referenced by callback(), and main().