Determination of mechanical spectra from experimental responses