operating with electron or nuclear magnetic resonance