Succession of electro-magnetic pulses used in nuclear magnetic resonance (NMR) and magnetic resonance imaging (MRI)