  Lineshape analysis is a recurrent and often computationally intensive task in
optics, even more so for multiple peaks in the presence of noise. We
demonstrate an algorithm which takes advantage of peak multiplicity (N) to
retrieve line shape information. The method is exemplified via analysis of
Lorentzian and Gaussian contributions to individual lineshapes for a practical
spectroscopic measurement and benefits from a linear increase in sensitivity
with the number N. The robustness of the method and its benefits in terms of
noise reduction and order of magnitude improvement in run-time performance are
discussed.
