Tuesday 26 May 2015

fft - What's the best criterion for determining a frequency peak?



I'm writing an algorithm that analyzes results of discrete Fourier transform (DFT). The algorithm should detect amplitude peaks in predefined ranges of frequencies. This is an example of such a peak:


Peak


Vertical red lines are range boundaries (left and right) and range center (middle).


What are the best criteria for determining the absence of this peak in a specified range?


For now I'm using standard deviation and comparing it to some calibration value. But it can be easily confused with some high amplitude noise like this:


Noise




No comments:

Post a Comment

readings - Appending 内 to a company name is read ない or うち?

For example, if I say マイクロソフト内のパートナーシップは強いです, is the 内 here read as うち or ない? Answer 「内」 in the form: 「Proper Noun + 内」 is always read 「ない...