Skip to content

Commit

Permalink
Merge pull request #37 from Cwiiis/fix-logpowspec-doc
Browse files Browse the repository at this point in the history
Make documentaion of logpowspec match behaviour
  • Loading branch information
jameslyons committed Mar 30, 2017
2 parents 9c9018b + 6880efb commit 2a4c1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_speech_features/sigproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def logpowspec(frames,NFFT,norm=1):
:param frames: the array of frames. Each row is a frame.
:param NFFT: the FFT length to use. If NFFT > frame_len, the frames are zero-padded.
:param norm: If norm=1, the log power spectrum is normalised so that the max value (across all frames) is 1.
:param norm: If norm=1, the log power spectrum is normalised so that the max value (across all frames) is 0.
:returns: If frames is an NxD matrix, output will be Nx(NFFT/2+1). Each row will be the log power spectrum of the corresponding frame.
"""
ps = powspec(frames,NFFT);
Expand Down

0 comments on commit 2a4c1c6

Please sign in to comment.