You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first value produced from the built-in macro function Array.fourier() is always incorrect. For each example I've tried, it appears to be incorrectly scaled by 1/sqrt(2). All subsequent values appear to be correct.
I have replicated this issue on numerous data sets (i.e., it is not a result of a specific input). Array.fourier() is implemented as a discrete Hartley transform which has factors of sqrt(2) and cos(pi/4) which I think is likely related.
A simple macro example is given below with graphs showing the input and current output (incorrect) and correct dft output.
The first value produced from the built-in macro function Array.fourier() is always incorrect. For each example I've tried, it appears to be incorrectly scaled by 1/sqrt(2). All subsequent values appear to be correct.
I have replicated this issue on numerous data sets (i.e., it is not a result of a specific input). Array.fourier() is implemented as a discrete Hartley transform which has factors of sqrt(2) and cos(pi/4) which I think is likely related.
A simple macro example is given below with graphs showing the input and current output (incorrect) and correct dft output.
The text was updated successfully, but these errors were encountered: