For media with
we use SANDIA parametrisation []. The cross-section for elements was fitted with a linear combination of reciprocal powers of the photon energy ( in keV). The fits were performed in different intervals j of the photon energy. In such an interval the cross-section reads as:
with j changing from 1 to
,
where
is the number of fitting intervals used for element i.
For the composites or mixtures of N elements the cross-section for
interval is calculated as:
where is the fraction by mass of element in the material. Substituting () into () one finds that the cross-section coefficients can be calculated as:
for i from 1 to 4. The macroscopic cross-section is calculated as follows:
where is the medium density.
As follows from () each compound is decomposed to its components which should coincide with chemical elements. If this is not the case i.e. a component has a non-integer atomic number
and is created by a call to GSMATE then the cross-section constants are calculated using two elements with and applying the weights and respectively.