|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.AnnularDetector
public class AnnularDetector
A software implementation of an annular detector such as might be found on an idealized AEM. The detector is constructed from a series of annular rings. The total radius of the detector, a center point, a surface normal and the ring count define the detector. The detector must be placed within the chamber region but outside of the sample.
Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain
Company: National Institute of Standards and Technology
| Constructor Summary | |
|---|---|
AnnularDetector(double radius,
int nRings,
double[] center,
double[] normal)
AnnularDetector - Construct an annular detector of the specified total radius which is subdivided into nRing equal width rings detectors. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
|
int |
detectedElectronCount(int ring)
detectedElectronCount - The number of electron trajectories that were detected by the specified ring. |
void |
dump(java.io.Writer wr)
dump - Writes a summary of the results collected by this detector. |
double |
innerRadius(int ring)
innerRadius - The inner radius of the specified ring. |
boolean |
isTopOnly()
Determines whether the detector accepts electrons only anti-parallel to the normal (front of the detector) or also parallel (back of the detector) |
int |
numberOfRings()
numberOfRings - The number of rings into which the detector is divided. |
double |
outerRadius(int ring)
outerRadius - The outer radius of the specified ring. |
double |
ringArea(int ring)
ringArea - The area of the specified ring. |
double |
ringWidth()
ringWidth - The width of each ring. |
void |
setTopOnly(boolean topOnly)
Determines whether the detector accepts electrons only anti-parallel to the normal (front of the detector) or also parallel (back of the detector) |
int |
sumElectronCount(int lowerRing,
int upperRing)
sumElectronCount - The sum of the number of electrons detected over the range of rings [ring0, ring1) (inclusive of ring0, excluding ring1). |
int |
totalElectronCount()
totalElectronCount - The total number of electron trajectories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnularDetector(double radius,
int nRings,
double[] center,
double[] normal)
radius - double - Outer radius (in meters)nRings - int - The number of equal width rings into which the
detector is subdivided.center - double[] - A point defining the center of the detectornormal - double[] - A vector defining the orientation of the detector
(oriented towards the incoming electrons)| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListenerpublic int numberOfRings()
public double ringWidth()
public int totalElectronCount()
public int detectedElectronCount(int ring)
public int sumElectronCount(int lowerRing,
int upperRing)
lowerRing - - index of lower ringupperRing - - index of upper most ring
public double innerRadius(int ring)
ring - int
public double outerRadius(int ring)
ring - int
public double ringArea(int ring)
ring - int
public void dump(java.io.Writer wr)
throws java.io.IOException
wr -
java.io.IOExceptionpublic boolean isTopOnly()
public void setTopOnly(boolean topOnly)
topOnly - true for top only (default is true)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||