Skip to content

Commit

Permalink
Merge pull request scipy#437 from endolith/docstring_cleanup
Browse files Browse the repository at this point in the history
DOC: signal: minor changes, fix reference formatting, change wording
  • Loading branch information
pv committed Feb 17, 2013
2 parents 0c8baba + 69c181f commit 4f297fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions scipy/signal/waveforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def sawtooth(t, width=1):
Width of the rising ramp as a proportion of the total cycle.
Default is 1, producing a rising ramp, while 0 produces a falling
ramp. `t` = 0.5 produces a triangle wave.
If an array, must be the same length as t, causes wave shape to change
over time.
If an array, causes wave shape to change over time, and must be the
same length as t.
Returns
-------
Expand Down Expand Up @@ -102,8 +102,8 @@ def square(t, duty=0.5):
The input time array.
duty : array_like, optional
Duty cycle. Default is 0.5 (50% duty cycle).
If an array, must be the same length as t, causes wave shape to change
over time.
If an array, causes wave shape to change over time, and must be the
same length as t.
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion scipy/signal/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ def chebwin(M, at, sym=True):


def slepian(M, width, sym=True):
"""Return a digital Slepian window.
"""Return a digital Slepian (DPSS) window.
Used to maximize the energy concentration in the main lobe. Also called
the digital prolate spheroidal sequence (DPSS).
Expand Down

0 comments on commit 4f297fc

Please sign in to comment.