Open
Description
Thanks for your work. I see that ratio table is in your todo list.
I calculated the table for my own need. Here It is...
float WindowCompensationFactor[10] =
{
2, /* rectangle (Box car) */
1.8549343278*2, /* hamming */
1.8554726898*2, /* hann */
2.0039186079*2, /* triangle (Bartlett) */
2.8163172034*2, /* nuttall */
2.367347436*2, /* blackman */
2.7557840395*2, /* blackman nuttall */
2.7929062517*2, /* blackman harris*/
3.5659039231*2, /* flat top */
1.5029392863*2 /* welch */
};
Compensation seems to be fine in my project... :)
Hope It helps,
Sebastien.
Activity
kosme commentedon Jan 22, 2020
MarScaper commentedon Jan 23, 2020
In my opinion, the best approach would be to allow compensation within the Windowing() method with a conditional parameter for backward compatibility.
Header could be changed like this...
And method implementation like this...
Easy to set and no impact on existing code for users.
HorstBaerbel commentedon Apr 9, 2020
See the develop branch and / or pull request #42 where this is implemented.
kosme commentedon Dec 28, 2023
@MarScaper do you agree with the statement on issue #61 ??