Fluorescent X-rays are scattered by atoms in a sample and provide the object wave, which is referenced to non-scattered X-rays. A holographic pattern is recorded by scanning a detector around the sample, which allows researchers to investigate the local 3D structure around a specific element in a sample.