Measurement of the effective atomic number of some transition and rare earth compounds using the Rayleigh to Compton scattering ratio of gamma radiation