diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-02-09 19:50:42 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-02-09 19:50:42 -0700 |
commit | bd5894b29b897f16da8a3d64e0df94e93d6b2d4a (patch) | |
tree | 9930c8932a1be95bceac5287935efc2d65adb18e /numpy | |
parent | de6729d5499b7d93f9ee78f2800476fef9323c35 (diff) | |
parent | 8225401e7b1a4ddeac6dcb53ffbf7a35535b3b94 (diff) | |
download | numpy-bd5894b29b897f16da8a3d64e0df94e93d6b2d4a.tar.gz |
Merge pull request #4274 from arunpersaud/ap/rfft-doc-fix-typo
DOC: fixed small type in rfft notes
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/fft/fftpack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/fftpack.py b/numpy/fft/fftpack.py index 9a169b04c..873249a23 100644 --- a/numpy/fft/fftpack.py +++ b/numpy/fft/fftpack.py @@ -296,7 +296,7 @@ def rfft(a, n=None, axis=-1): conjugates of the corresponding positive-frequency terms, and the negative-frequency terms are therefore redundant. This function does not compute the negative frequency terms, and the length of the transformed - axis of the output is therefore ``n//2+1``. + axis of the output is therefore ``n//2 + 1``. When ``A = rfft(a)`` and fs is the sampling frequency, ``A[0]`` contains the zero-frequency term 0*fs, which is real due to Hermitian symmetry. |