X-ray cross-correlation analysis and local symmetries of disordered systems: General theory | Synapse