MassAttenuationCoefficient¶
-
class
roentgen.absorption.
MassAttenuationCoefficient
(material)[source]¶ Bases:
object
The mass attenuation coefficient.
Parameters: material_str (str) – A string representation of the material which includes an element symbol (e.g. Si), an element name (e.g. Silicon), or the name of a compound (e.g. cdte, mylar). -
data
¶ The mass attenuation data values.
Type: astropy.units.Quantity
array
-
energy
¶ The energy values of the mass attenuation values.
Type: astropy.units.Quantity
-
func
¶ A function which returns the interpolated mass attenuation value at any given energy. Energies must be given by an
astropy.units.Quantity
. The interpolation range is 1 keV to 20 MeV. Going outside that range will result in a ValueError.Type: lambda func
Examples
>>> from roentgen.absorption.material import MassAttenuationCoefficient >>> mass_atten = MassAttenuationCoefficient('air')
-