|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.PhiRhoStats
public class PhiRhoStats
Creates an accumulator for the x-ray generation and transmission statistics for a single x-ray transition.
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 | |
|---|---|
PhiRhoStats(int nX,
int nY,
int nZ,
XRayTransition xrt)
MCSS_PhiRhoStats - Create a phi-rho-* accumulator with the specified number of bins for the specified transition. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
|
void |
dump(java.io.PrintWriter pw)
|
static void |
dumpToFiles(PhiRhoStats[] prs,
java.lang.String dest)
dumpToFiles - A helper to dump a list of phi-rho-* stats to disk files. |
AtomicShell |
getAtomicShell()
|
double[] |
getGeneratedPhiRho(int axis)
getGeneratedPhiRho - Get the accumulated phi-rho-x, phi-rho-y or phi-rho-z curves. |
int |
getMemoryRequirements()
getMemoryRequirements - A rough estimate of the memory requirements for this object. |
double |
getRangeMax(int axis)
getRangeMax |
double |
getRangeMin(int axis)
getRangeMin |
XRayTransition |
getTransition()
getTransition - Get the XRayTransition object associated with these statistics. |
double[] |
getTransmittedPhiRho(int axis)
getTransmittedPhiRho - Get the accumulated phi-rho-x, phi-rho-y or phi-rho-z curves. |
void |
setRange(int axis,
double min,
double max)
setRange - One of MonteCarloSS.XAxis, MonteCarloSS.YAxis or MonteCarloSS.ZAxis |
void |
setShape(MonteCarloSS.Shape shape)
setShape - To constrain the statistics to within a certain volume, specify a MonteCarloSS.Shape interface defining the volume. |
static PhiRhoStats[] |
watchDefaultTransitions(XRayEventListener xrel,
double zMin,
double zMax)
watchAllTransitions - A helper to attach phi-rho-z listeners to an MCSS_XRayEventListener object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhiRhoStats(int nX,
int nY,
int nZ,
XRayTransition xrt)
nX - intnY - intnZ - intxrt - XRayTransition| Method Detail |
|---|
public static PhiRhoStats[] watchDefaultTransitions(XRayEventListener xrel,
double zMin,
double zMax)
xrel - MCSS_XRayEventListenerzMin - doublezMax - double
public static void dumpToFiles(PhiRhoStats[] prs,
java.lang.String dest)
throws java.io.FileNotFoundException,
java.io.IOException
prs - MCSS_PhiRhoStats[]dest - String
java.io.FileNotFoundException
java.io.IOExceptionpublic AtomicShell getAtomicShell()
public void setShape(MonteCarloSS.Shape shape)
shape - Shape
public void setRange(int axis,
double min,
double max)
axis - intmin - doublemax - doublepublic double getRangeMin(int axis)
axis - int - One of MonteCarloSS.XAxis, MonteCarloSS.YAxis or
MonteCarloSS.ZAxis
public double getRangeMax(int axis)
axis - int - One of MonteCarloSS.XAxis, MonteCarloSS.YAxis or
MonteCarloSS.ZAxis
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListenerpublic double[] getGeneratedPhiRho(int axis)
axis - int - One of MonteCarloSS.XAxis, MonteCarloSS.YAxis or
MonteCarloSS.ZAxis
public double[] getTransmittedPhiRho(int axis)
axis - int - One of MonteCarloSS.XAxis, MonteCarloSS.YAxis or
MonteCarloSS.ZAxis
public int getMemoryRequirements()
public XRayTransition getTransition()
public void dump(java.io.PrintWriter pw)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||