X-ray Detectors - in Heaven and on Earth