An algorithm for the relative scaling of spectra | doi.page