Resolution in terms of electron density is a measure of the resolvability in the electron density map of a molecule. In X-ray crystallography, resolution is the highest resolvable peak in the diffraction pattern, while resolution in cryo-electron microscopy is a frequency space comparison of two halves of the data, which strives to correlate with the X-ray definition.