|
||||||||||
| 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.Microcalorimeter
public class Microcalorimeter
Implements a basic model of a Microcalorimeter detector..
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 | |
|---|---|
Microcalorimeter(int nChannels,
double chWidth)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addEvent(double energy,
double intensity)
addEvent - Add x-ray events of the specified energy and intensity. |
void |
clear()
clear - Clear the spectral data. |
void |
dumpEfficiency()
|
double |
GaussianWidth(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. |
| 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 Microcalorimeter(int nChannels,
double chWidth)
throws EPQException
EPQException| Method Detail |
|---|
public double GaussianWidth(double e)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void clear()
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-rayspublic double getCounts(int n)
EditableSpectrum
getCounts in interface ISpectrumDatagetCounts in class EditableSpectrumn - int
public void dumpEfficiency()
public void setGain(double g)
g - doublepublic double getGain(double g)
g - double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||