Showing the changes to python/ext (1 of 1 file). Show all
Unified · Split
| @@ -1,6 +1,24 @@ | |||
| 1 | #include "aubio-types.h" | 1 | #include "aubio-types.h" |
| 2 | 2 | ||
| 3 | static char Py_fft_doc[] = "fft object"; | 3 | static char Py_fft_doc[] = "" |
| 4 | "fft(size=1024)\n" | ||
| 5 | "\n" | ||
| 6 | "Compute Fast Fourier Transorms.\n" | ||
| 7 | "\n" | ||
| 8 | "Parameters\n" | ||
| 9 | "----------\n" | ||
| 10 | "size : int\n" | ||
| 11 | " size of the FFT to compute\n" | ||
| 12 | "\n" | ||
| 13 | "Example\n" | ||
| 14 | "-------\n" | ||
| 15 | ">>> x = aubio.fvec(512)\n" | ||
| 16 | ">>> f = aubio.fft(512)\n" | ||
| 17 | ">>> c = f(x); c\n" | ||
| 18 | "aubio cvec of 257 elements\n" | ||
| 19 | ">>> x2 = f.rdo(c); x2.shape\n" | ||
| 20 | "(512,)\n" | ||
| 21 | ""; | ||
| 4 | 22 | ||
| 5 | typedef struct | 23 | typedef struct |
| 6 | { | 24 | { |