Closed Tarskin closed 6 years ago
The peak value derives from the original maximum data point in the original (non subsetted data) while the data is subsetted (line 1039). The following change fixed the issue 'Peak':xData[np.argmax(yData)]to 'Peak':newGaussX[np.argmax(newGaussY)]
.
plasma-control_37_Emission_1.txt
Performing automatic peak detection on the attached sample (with a
Minimum Intensity
of 0.01) crashes HappyTools with an empty i['Data'] array. The cause was that the 'peak' value was 25.65 while the data covered the 24.52 to 24.75 range, this causes the entire data set to be discared during overlap removal.