Optical thermodynamics of nonlinear multimode systems | Synapse