An X-ray diffraction microscope at the Advanced Photon Source