General regularization framework for DEER spectroscopy.