Synchrotron Tests of a 3D Medipix2 X-Ray Detector