libatomprobe
Library for Atom Probe Tomography (APT) computation
|
#include <reconstruction-simple.h>
Public Member Functions | |
ReconstructionSphereOnCone () | |
Default constructor. More... | |
void | setProjModel (AtomProbe::SphericPlaneProjection *model) |
Set a given projection model. More... | |
void | setRadiusEvolutionMode (unsigned int evolutionMode) |
Set the method of evolution for the shank, as per EVOLUTION_MODE_ enum. More... | |
void | setInitialRadius (float rInit) |
Set the initial tip radius. More... | |
void | setShankAngle (float angle) |
Set initial angle, in radiians. More... | |
void | setDetectorEfficiency (float detEff) |
Set detector efficiency in range (0,1]. More... | |
void | setFlightPath (float detEff) |
Set flight path. Units must match detector units (eg mm) More... | |
void | setReconFOV (float angle) |
Set the angle (between 0 and pi radiaans). This is. More... | |
bool | reconstruct (const std::vector< float > &detectorX, const std::vector< float > &detectorY, const std::vector< float > &timeOfFlight, const std::vector< float > &ionVolume, std::vector< IonHit > &outputPts) const |
Using the current reconstruction model, reconstruct a detector sequence. More... | |
Definition at line 35 of file reconstruction-simple.h.
AtomProbe::ReconstructionSphereOnCone::ReconstructionSphereOnCone | ( | ) |
Default constructor.
Definition at line 31 of file reconstruction-simple.cpp.
References AtomProbe::EVOLUTION_MODE_SHANKANGLE.
bool AtomProbe::ReconstructionSphereOnCone::reconstruct | ( | const std::vector< float > & | detectorX, |
const std::vector< float > & | detectorY, | ||
const std::vector< float > & | timeOfFlight, | ||
const std::vector< float > & | ionVolume, | ||
std::vector< IonHit > & | outputPts | ||
) | const |
Using the current reconstruction model, reconstruct a detector sequence.
Uses the projection model given in ::setProjModel, to perform the reconstruction
Definition at line 79 of file reconstruction-simple.cpp.
References ASSERT, AtomProbe::EVOLUTION_MODE_SHANKANGLE, AtomProbe::BoundCube::getSize(), AtomProbe::BoundCube::getVolume(), M_PI, reconstruct(), AtomProbe::reconstructTest(), AtomProbe::savePosFile(), AtomProbe::SphericPlaneProjection::scaleDown(), AtomProbe::BoundCube::setBounds(), setFlightPath(), setInitialRadius(), setProjModel(), setReconFOV(), setShankAngle(), TEST, AtomProbe::SphericPlaneProjection::thetaToEta(), and AtomProbe::SphericPlaneProjection::toAzimuthal().
Referenced by main(), and reconstruct().
void AtomProbe::ReconstructionSphereOnCone::setDetectorEfficiency | ( | float | detEff | ) |
Set detector efficiency in range (0,1].
Definition at line 48 of file reconstruction-simple.cpp.
References ASSERT.
Referenced by main().
void AtomProbe::ReconstructionSphereOnCone::setFlightPath | ( | float | detEff | ) |
Set flight path. Units must match detector units (eg mm)
Definition at line 54 of file reconstruction-simple.cpp.
References ASSERT.
Referenced by main(), and reconstruct().
void AtomProbe::ReconstructionSphereOnCone::setInitialRadius | ( | float | rInit | ) |
Set the initial tip radius.
Definition at line 73 of file reconstruction-simple.cpp.
References ASSERT.
Referenced by main(), and reconstruct().
void AtomProbe::ReconstructionSphereOnCone::setProjModel | ( | AtomProbe::SphericPlaneProjection * | model | ) |
Set a given projection model.
Definition at line 38 of file reconstruction-simple.cpp.
Referenced by main(), and reconstruct().
void AtomProbe::ReconstructionSphereOnCone::setRadiusEvolutionMode | ( | unsigned int | evolutionMode | ) |
Set the method of evolution for the shank, as per EVOLUTION_MODE_ enum.
Definition at line 43 of file reconstruction-simple.cpp.
void AtomProbe::ReconstructionSphereOnCone::setReconFOV | ( | float | angle | ) |
Set the angle (between 0 and pi radiaans). This is.
Definition at line 60 of file reconstruction-simple.cpp.
Referenced by main(), and reconstruct().
void AtomProbe::ReconstructionSphereOnCone::setShankAngle | ( | float | angle | ) |
Set initial angle, in radiians.
Definition at line 66 of file reconstruction-simple.cpp.
Referenced by main(), and reconstruct().