|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.physics.PolychromaticXRaySpectrum
public class PolychromaticXRaySpectrum
This class creates a model of a polychromatic X Ray spectrum.
The default parameters are:
minimum energy = 10keV
maximum energy = 150kev
resolution delta= 0.5
peak voltage = 125kVp
time current product = 1;
Constructor Summary | |
---|---|
PolychromaticXRaySpectrum()
Creates a new polychromatic X-Ray spectrum satisfying default parameters. |
|
PolychromaticXRaySpectrum(double delta)
|
|
PolychromaticXRaySpectrum(double min,
double max,
double delta,
double peakVoltage,
double timeCurrentProduct)
Creates a new polychromatic X-Ray spectrum satisfying the parameters below. |
Method Summary | |
---|---|
void |
add(double energy,
double count)
|
void |
generateDefaultSpectrum()
|
void |
generateSpectrum(double min,
double max,
double delta,
double peakVoltage,
double timeCurrentProduct)
|
double |
getIntensity(double energy)
Intensity of XRay at given energy (kev) |
int |
getPhotonCount()
|
double[] |
getPhotonEnergies()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolychromaticXRaySpectrum()
public PolychromaticXRaySpectrum(double delta)
public PolychromaticXRaySpectrum(double min, double max, double delta, double peakVoltage, double timeCurrentProduct)
min
- is minimum energy in keVmax
- is maximum energy in keVdelta
- is resolutionpeakVoltage
- is peak voltagetimeCurrentProduct
- is time current productMethod Detail |
---|
public void generateDefaultSpectrum()
public void generateSpectrum(double min, double max, double delta, double peakVoltage, double timeCurrentProduct)
public double getIntensity(double energy)
energy
- is energy in kev
public int getPhotonCount()
public double[] getPhotonEnergies()
public int size()
public void add(double energy, double count)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |