libatomprobe
Library for Atom Probe Tomography (APT) computation
Public Member Functions | List of all members
AtomProbe::StereographicProjection Class Reference

#include <projection.h>

Inheritance diagram for AtomProbe::StereographicProjection:
Inheritance graph
[legend]
Collaboration diagram for AtomProbe::StereographicProjection:
Collaboration graph
[legend]

Public Member Functions

virtual bool toAzimuthal (float fx, float fy, float &theta, float &phi) const
 Convert from plane coordinates to stereographic (NOT SPHERICAL) coords. More...
 
virtual bool toPlanar (float theta, float phi, float &fx, float &fy) const
 Convert from stereographic (NOT SPHERICAL) coordinates to plane. More...
 
virtual void scaleDown (float flightLength, float detX, float detY, float &scaledX, float &scaledY) const
 Convert from actual detector postion (eg. mm) and flight path to scaled-down transform. More...
 
virtual void scaleUp (float flightLength, float scaledX, float scaledY, float &realX, float &realY) const
 Convert from scaled-down radius to actual radius. More...
 
float thetaToEta (float theta) const
 Convert azimuthal angle to spherical. See etaToTheta for description. More...
 

Detailed Description

Definition at line 90 of file projection.h.

Member Function Documentation

◆ scaleDown()

void AtomProbe::StereographicProjection::scaleDown ( float  flightLength,
float  detX,
float  detY,
float &  scaledX,
float &  scaledY 
) const
virtual

Convert from actual detector postion (eg. mm) and flight path to scaled-down transform.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 136 of file projection.cpp.

References ASSERT.

◆ scaleUp()

void AtomProbe::StereographicProjection::scaleUp ( float  flightLength,
float  scaledX,
float  scaledY,
float &  realX,
float &  realY 
) const
virtual

Convert from scaled-down radius to actual radius.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 147 of file projection.cpp.

References ASSERT.

◆ thetaToEta()

float AtomProbe::StereographicProjection::thetaToEta ( float  theta) const
virtual

Convert azimuthal angle to spherical. See etaToTheta for description.

-input range is limited to [0,90)

Implements AtomProbe::SphericPlaneProjection.

Definition at line 175 of file projection.cpp.

References AtomProbe::SphericProjectionParams::focusDist, M_PI, AtomProbe::SphericProjectionEqn(), and AtomProbe::SphericProjectionParams::theta.

Here is the call graph for this function:

◆ toAzimuthal()

bool AtomProbe::StereographicProjection::toAzimuthal ( float  fx,
float  fy,
float &  theta,
float &  phi 
) const
virtual

Convert from plane coordinates to stereographic (NOT SPHERICAL) coords.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 158 of file projection.cpp.

◆ toPlanar()

bool AtomProbe::StereographicProjection::toPlanar ( float  theta,
float  phi,
float &  fx,
float &  fy 
) const
virtual

Convert from stereographic (NOT SPHERICAL) coordinates to plane.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 124 of file projection.cpp.


The documentation for this class was generated from the following files: