|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.EPQLibrary.BaseSpectrum
gov.nist.microanalysis.EPQLibrary.EditableSpectrum
gov.nist.microanalysis.EPQLibrary.EDSDetector
public class EDSDetector
Models the behavior of an EDS detector. X-ray events are input and as output comes a typical EDS spectrum sullied by (some of) the imperfections associated with the technology.
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
| Field Summary |
|---|
| Fields inherited from class gov.nist.microanalysis.EPQLibrary.BaseSpectrum |
|---|
mHashCode, NULL_HASH, NullSpectrum |
| Constructor Summary | |
|---|---|
EDSDetector(int nChannels,
double chWidth,
double fwhmAtMnKA)
EDSDetector - Construct a new EDSDetector object to represent an energy dispersive x-ray detector. |
|
EDSDetector(int nChannels,
double chWidth,
double fwhmAtMnKA,
double goldLayer,
double deadLayer,
double thickness,
double solidAngle)
EDSDetector - Construct a new EDSDetector object to represent an energy dispersive x-ray detector. |
|
EDSDetector(ISpectrumData spec,
double fwhmAtMnKA)
EDSDetector - Construct a new EDSDetector object to represent an energy dispersive x-ray detector. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
actionPerformed - Implements actionPerformed for the ActionListener abstract class. |
void |
addEvent(double energy,
double intensity)
addEvent - Add x-ray events of the specified energy and intensity. |
void |
addEvent(int channel,
double intensity)
addEvent - Add x-ray events of the specified energy and intensity. |
void |
clear()
clear - Clear the spectral data. |
double |
FWHM(double e)
|
double |
getCounts(int n)
getCounts - See ISpectrumData |
double |
getGain(double g)
getGain - Returns the current gain (default =1.0) |
void |
setGain(double g)
setGain - Sets a constant which is multiplied by the intensity in addEvent. |
void |
setWindow(IXRayWindowProperties window)
setWindow - Specify the window to use in front of the detector. |
| Methods inherited from class gov.nist.microanalysis.EPQLibrary.EditableSpectrum |
|---|
clearChannels, getChannelCount, getChannelWidth, getCounts, getProperties, getZeroOffset, setCounts, setProperties |
| Methods inherited from class gov.nist.microanalysis.EPQLibrary.BaseSpectrum |
|---|
compareTo, equals, hashCode, initializeSpectrumIndex, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EDSDetector(ISpectrumData spec,
double fwhmAtMnKA)
throws EPQException
spec - ISpectrumData - The base x-ray events which to processfwhmAtMnKA - double - The FWHM performance of the detector measured
at Mn K-alpha (K-LIII) (eV)
EPQException
public EDSDetector(int nChannels,
double chWidth,
double fwhmAtMnKA)
throws EPQException
nChannels - int - The number of binschWidth - double - The width of each binfwhmAtMnKA - double - The FWHM performance of the detector measured
at Mn K-alpha (K-LIII) (eV)
EPQException
public EDSDetector(int nChannels,
double chWidth,
double fwhmAtMnKA,
double goldLayer,
double deadLayer,
double thickness,
double solidAngle)
nChannels - int - The number of binschWidth - double - The width of each binfwhmAtMnKA - double - The FWHM performance of the detector measured
at Mn K-alpha (K-LIII) (eV)goldLayer - double - The thickness of the conductive gold layer on
the surface of the detectordeadLayer - double - The thickness of the dead layer on the surface
of the detectorthickness - double - The thickness of the detector diodesolidAngle - double - The solid angle subtended by the detector
(stetradians)| Method Detail |
|---|
public void clear()
public void setWindow(IXRayWindowProperties window)
window - XRayWindow
public void addEvent(double energy,
double intensity)
energy - double - The energy of the x-ray (in Joules)intensity - double - The (possibly-fractional) number of x-rays
public void addEvent(int channel,
double intensity)
channel - int - The channel into which to place the x-rayintensity - double - The (possibly-fractional) number of x-rayspublic double FWHM(double e)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - ActionEventpublic void setGain(double g)
g - doublepublic double getGain(double g)
g - double
public double getCounts(int n)
EditableSpectrum
getCounts in interface ISpectrumDatagetCounts in class EditableSpectrumn - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||