Magnetic X-ray diffraction from samarium