Scaling output in fftsink2.py

All,

fft_sink_c() and fft_sink_f() in fftsink2.py scale the output by the fft
size using -20 log10(fft_size)

I think the intent is to make the output level independent of fft size.
Currently the output is a function of fft size. See attached code
(fftsink2_example.py).

I think the scaling should be -10 log10(fftsize) . Please see the
attached
suggested patch to fftsink2.py

Tim

On 3/10/08, Tim M. [email protected] wrote:

fft_sink_c() and fft_sink_f() in fftsink2.py scale the output by the fft
size using -20 log10(fft_size)

I think the intent is to make the output level independent of fft size.
Currently the output is a function of fft size. See attached code
(fftsink2_example.py).

I think the scaling should be -10 log10(fftsize) . Please see the attached
suggested patch to fftsink2.py

You are correct. This has been updated on the trunk as of r7997.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com/