It is this feature that is exploited in imaging techniques ; if a sample is placed in a non-uniform magnetic field then the resonance frequencies of the sample 's nuclei depend on where in the field they are located .
This resonance is used in imaging techniques . If a sample is placed in a non-uniform magnetic field then the resonance frequencies of the sample 's nuclei depend on where in the field they are located .