http://www.particle.kth.se/htmlnew/laboratories/xray/courses/xray_instr.html