Peak period computation for multi-peaked or wide spectra