Sensitive measurement of optical nonlinearities using a single beam | Synapse