A New Method to Measure the Divergence of X-Ray Beams from Capillaries