[Scipy-tickets] [SciPy] #1506: scipy.fftpack.hilbert differs from textbook definition

SciPy Trac scipy-tickets@scipy....
Sun Sep 4 03:28:41 CDT 2011


#1506: scipy.fftpack.hilbert differs from textbook definition
---------------------------+------------------------------------------------
 Reporter:  xinchuan       |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.fftpack  |     Version:  0.9.0      
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by rgommers):

  * component:  Other => scipy.fftpack


Comment:

 The difference is only a minus sign, and the Wikipedia article on the
 Hilbert transform mentions that different books use conflicting
 definitions (with and without minus sign). So I think the right thing to
 do is to document this more clearly and point out that the user may need
 to add a minus sign.  Changing the code breaks backwards compatibility for
 a very minor gain.

 Can you confirm that the documentation and implementation actually agree?

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


More information about the Scipy-tickets mailing list