XRayMassCoeff:

% Compute the attenuation mass and absorption mass for a material.

 The date file is of the form:

   material name
   and then multiple lines of:
   MeV mu/rho mu_en/rho

 The default file is XRayMassCoeff.txt. If you create your own file,
 you can have as many lines as you want.

 If the energies are exactly the same for two values eps is added to
 the second value.

 Type XRayMassCoeff for a demo using the default file.
--------------------------------------------------------------------------
   Form:
   [massAtten, massAbsorb] = XRayMassCoeff( material, e, dbName )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   material    (1,:) Name of material lower case
   e           (1,:) X-ray energy (MeV)
   dbName      (1,:) Optional text file name

   -------
   Outputs
   -------
   massAtten   (1,:) Attenuation mass (m^2/kg)
   massAbsorb  (1,:) Absorption mass (m^2/kg) 

--------------------------------------------------------------------------
   Reference: http://www.nist.gov/pml/data/xraycoef/index.cfm
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D