The art of fitting p-mode spectra