Fundamentals of heterodyne wave mixing spectroscopy: a tutorial | Synapse