One of three linear magnetization waveforms superimposed on the main magnetic field at specific times within a pulse sequence to select the imaging region or provide necessary spatial localization information. A magnetic gradient is defined as the amount and direction of the linear rate of change of the magnetic field in space.