{'fraction_non_alphanumeric': 0.025906735751295335, 'fraction_numerical': 0.0, 'mean_word_length': 5.590909090909091, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
"Shim pulses" for NMR spectroscopy and imaging.

A way to use adiabatic radiofrequency pulses and modulated magnetic-field gradient pulses, together constituting a "shim pulse," for NMR spectroscopy and imaging is demonstrated. These pulses capitalize on phase shifts derived from probe gradient coils to compensate for nonlinear intrinsic main magnetic field homogeneity for spectroscopy, as well as for deviations from linear gradients for imaging. This approach opens up the possibility of exploiting cheaper, less-than-perfect magnets and gradient coils for NMR applications.