Fig 3 (a) : heralding probability to detect the atom in up for different incoming intensities alpha^2 file distillation_fig_3a_data.csv 1st column -> alpha^2 2nd column -> heralding probability to detect the atom in up measured file distillation_fig_3a_theory.csv 1st column -> alpha^2 2nd column -> heralding probability to detect the atom in up simulated Fig 3 (b) : single-photon fidelity of the distilled light for different incoming intensities alpha^2 file distillation_fig_3b_data.csv 1st column -> alpha^2 2nd column -> measured single-photon fidelity file distillation_fig_3b_theory.csv 1st column -> alpha^2 2nd column -> simulated single-photon fidelity 3rd column -> simulated single photon fidelity for a coherent state