scipy/scipy — pull request #248 by endolith (2012-06-08 01:42:33+00:00)
Title: Add docstrings to all the window functions

Added docstrings for all the window functions (because I couldn't figure out what "sym" was for).

5 of these are copied from NumPy's functions, with modifications. I double-checked that they produce identical output.

Not sure about:

1. Are the numpy examples good? Do we want that for all of them? There should probably be graphs of each in the web documentation?
2. Not sure what to do about the See also section. Include all 17 other window functions? Or remove it altogether?
3. Not sure about official definitions for shape parameter for generalized Gaussian or bandwidth for Slepian, so I was vague.
4. generalized Gaussian half-power point equation had an extra parenthesis before I converted it to TeX, not sure if it was right.
5. Some of these are normalized to 1 even with an even number of samples, so I made the docstring match the behavior, but the behavior might be wrong.