sddspeakfind finds the locations and values of peaks in a single column of an SDDS file. It incorporates various features to help reject spurious peaks. The column is considered a function of the row index for the purpose of finding peaks. Hence, the data should be sorted if necessary using sddssort prior to using this program. I.e., if the data contains columns x and y, and one wants x values of peaks in y, then one should ensure that the rows are sorted into increasing or decreasing x order.
It may also be helpful to smooth the data using sddssmooth in order to eliminate spurious peaks due to noisy data.
sddspeakfind data.fft data.peaks -column=FFTamplitude
Sort and smooth the data first:
sddssort data.fft -column=f,increasing -pipe=out
| sddssmooth -pipe -columns=FFTamplitude
| sddspeakfind -pipe=in data.peaks -column=FFTamplitude
sddspeakfind [-pipe=[input][,output]] [inputFile] [outputFile] -column=columnName [-fivePoints] [-threshold=value] [-exclusionZone=fractionalInterval] [-changeThreshold=fractionalChange]