## Correlation coefficient between two patterns for different angles

**Figure C1.** Correlation coefficient between two patterns for different angles. The upper curve for ideal data and the lower one for the noisy data. The blue boxes mark the ten best candidates for the correct orientation. The width of each box corresponds to 2 **×** *A*_{tol}; the height is arbitrary.

**Abstract**

Single-particle diffraction imaging experiments at free-electron lasers (FELs) have a great potential for the structure determination of reproducible biological specimens that cannot be crystallized. One of the challenges in processing the data from such an experiment is to determine the correct orientation of each diffraction pattern from samples randomly injected in the FEL beam. We propose an algorithm (Yefanov *et al* 2010 *Photon Science—HASYLAB Annual Report*) that can solve this problem and can be applied to samples from tens of nanometres to microns in size, measured with sub-nanometre resolution in the presence of noise. This is achieved by the simultaneous analysis of a large number of diffraction patterns corresponding to different orientations of the particles. The algorithm's efficiency is demonstrated for two biological samples, an artificial protein structure without any symmetry and a virus with icosahedral symmetry. Both structures are a few tens of nanometres in size and consist of more than 100 000 non-hydrogen atoms. More than 10 000 diffraction patterns with Poisson noise were simulated and analysed for each structure. Our simulations indicate the possibility of achieving resolution of about 3.3 Å at 3 Å wavelength and incoming flux of 10^{12} photons per pulse focused to 100**×**100 nm^{2}.