Gravar-mail: Phase-space analysis and experimental results for secondary focusing at X-ray beamlines