Optimal background treatment in dipolar spectroscopy.