Theory of photon condensation in a spatially varying electromagnetic field