Basis of NMR spectroscopy. The energies of the two orientations of a nucleus of spin ½ (such as 31P and 1H) depend on the strength of the applied magnetic field. Absorption of electromagnetic radiation of appropriate frequency induces a transition from the lower to the upper level.