Skip to content

Commit

Permalink
Added stft docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfsantos committed Oct 12, 2014
1 parent 0089f3e commit 408b31e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/periodograms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
with overlap ``noverlap`` and returns a Spectrogram object. See
:func:`periodogram` for description of optional keyword arguments.

.. function:: spectrogram(s, n=div(length(s), 8), noverlap=div(n, 2); onesided=eltype(s)<:Real, nfft=nextfastfft(n), fs=1, window=nothing)

Computes the STFT of a signal ``s`` based on ``n`` segments
with overlap ``noverlap`` and returns a matrix containing the STFT coefficients. See :func:`periodogram` for description of optional keyword arguments.


.. function:: periodogram(s::AbstractMatrix; nfft=nextfastfft(size(s)), fs=1, radialsum=false, radialavg=false)

Computes periodogram of a 2-d signal by FFT and returns a
Expand Down

0 comments on commit 408b31e

Please sign in to comment.