Replies: 1 comment
-
Hi |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Recently, I've started using
Shenfun
. I'm wondering how the Fourier transform is normalized inShenfun
, especially when it comes to multidimensional cases.Take 2D as an example. Is it divided by the number of grid points,$N_x\cdot N_y$ , in the
forward
transform, or is this normalization done in thebackward
transform, as is common in most FFT packages (such as those inMATLAB
,numpy
, andscipy
)?I've been experimenting with the code, and it seems like$1/\sqrt{N_x \cdot N_y}$ . However, I'm not sure if this is correct.
Shenfun
follows theortho
strategy as inscipy
, in which both theforward
andbackward
transforms are scaled byBeta Was this translation helpful? Give feedback.
All reactions