edu.stanford.rsl.konrad.physics.materials
Class Material
java.lang.Object
edu.stanford.rsl.konrad.physics.materials.Material
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- Compound, Element, Mixture
public class Material
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
This class models an arbitrary material. Materials are defined by density and their characteristic attenuation of XRays of different energies.
Note. A material without a defined energy dependent attenuation cannot be used in polychromatic XRay projection modeling
.
- Author:
- Rotimi X Ojo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Material
public Material()
Material
public Material(double density)
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
getCTValue
public double getCTValue()
getAttenuation
public double getAttenuation(double energy)
- Energy dependent attenuation of material
- Returns:
setDensity
public void setDensity(double density)
getDensity
public double getDensity()
setAttenuation
public void setAttenuation(NumberInterpolatingTreeMap attCoef)
getAttenuation
public NumberInterpolatingTreeMap getAttenuation()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object