summaryrefslogtreecommitdiff
path: root/numpy/fft/info.py
diff options
context:
space:
mode:
authorJoseph Martinot-Lagarde <joseph.martinot-lagarde@onera.fr>2015-04-02 16:33:50 +0200
committerCharles Harris <charlesr.harris@gmail.com>2015-06-21 14:35:33 -0600
commit81d53e44a8d503dba3101c1f523008d0a0dde787 (patch)
tree3e0ab36b22570b55ff8a172fd3ca2292eeca5f3e /numpy/fft/info.py
parente3b2bc0b0f31482cd112660393245116ae55ecbf (diff)
downloadnumpy-81d53e44a8d503dba3101c1f523008d0a0dde787.tar.gz
ENH: Add a norm keyword and tests for fft transforms
Diffstat (limited to 'numpy/fft/info.py')
-rw-r--r--numpy/fft/info.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/numpy/fft/info.py b/numpy/fft/info.py
index 916d452f2..f7fc95453 100644
--- a/numpy/fft/info.py
+++ b/numpy/fft/info.py
@@ -116,7 +116,15 @@ The inverse DFT is defined as
\\qquad m = 0,\\ldots,n-1.
It differs from the forward transform by the sign of the exponential
-argument and the normalization by :math:`1/n`.
+argument and the default normalization by :math:`1/n`.
+
+Normalization
+-------------
+The default normalization has the direct transforms unscaled and the inverse
+transforms are scaled by :math:`1/n`. It is possible to obtain unitary
+transforms by setting the keyword argument ``norm`` to ``"ortho"`` (default is
+`None`) so that both direct and inverse transforms will be scaled by
+:math:`1/\\sqrt{n}`.
Real and Hermitian transforms
-----------------------------