public class OnlineMassAttenuationDB
extends java.lang.Object
This class provides access to NIST XCOM Database.
This can be used to retrieve the energy dependent mass attenuation of elements, and arbitrary combination of elements.
The NIST database supports energies between 1 keV - 100 GeV;
Constructor and Description |
---|
OnlineMassAttenuationDB() |
Modifier and Type | Method and Description |
---|---|
static double |
getMassAttenuationData(WeightedAtomicComposition comp,
double energy,
AttenuationType attType) |
static java.util.TreeMap<AttenuationType,NumberInterpolatingTreeMap> |
getMassAttenuationData(WeightedAtomicComposition comp,
java.lang.String energies,
java.util.ArrayList<AttenuationType> att,
boolean useDefaultEnergies)
Retrieves energy dependent mass attenuation data from NIST XCOM database
|
public static double getMassAttenuationData(WeightedAtomicComposition comp, double energy, AttenuationType attType)
public static java.util.TreeMap<AttenuationType,NumberInterpolatingTreeMap> getMassAttenuationData(WeightedAtomicComposition comp, java.lang.String energies, java.util.ArrayList<AttenuationType> att, boolean useDefaultEnergies)
comp
- is atomic composition by weight of material to be retrievedenergies
- is semi-colon seperated list of energies(MEV) of interest.