[Scipy-tickets] [SciPy] #1754: scipy.signal.freqz documentation

SciPy Trac scipy-tickets@scipy....
Fri Oct 26 10:05:34 CDT 2012


#1754: scipy.signal.freqz documentation
----------------------------------+-----------------------------------------
 Reporter:  pmeier82              |       Owner:  cdavid     
     Type:  enhancement           |      Status:  new        
 Priority:  normal                |   Milestone:  Unscheduled
Component:  scipy.signal          |     Version:  0.9.0      
 Keywords:  documentation, freqz  |  
----------------------------------+-----------------------------------------
 The example in the online documentation
 (http://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.freqz.html)
 seems to be incorrect.

 should be:

 {{{
 [..]
 w,h = sp.freqz(b) # should be w for the phase and h for the response
 [..]
 plt.semilogy(w, np.abs(h), 'b')
 [..]
 }}}


 The online version is plain wrong, the docstring version in 0.9.0 and
 0.10.1 also shows the wrong naming, but plots the correct quantities.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1754>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list