Diffraction of X-rays by magnetic materials. I. General formulae and measurements on ferro- and ferrimagnetic compounds | Synapse