The method, in physics vocabulary, is that you can excite hydrogen nuclei with a magnetic field, and then, you can change the magnetic field, and then, the oscillations will be picked out from some sensors outside. 