Properties of a submicrometer x-ray beam at the exit of a waveguide