Email (record): Analysis of potassium spectra with low counting statistics using trapezoidal and library least-squares methods