[Scipy-tickets] [SciPy] #1300: Call to fft() failing on loadmat result after upgrade to 0.8.0.

SciPy Trac scipy-tickets@scipy....
Wed Oct 13 08:45:02 CDT 2010


#1300: Call to fft() failing on loadmat result after upgrade to 0.8.0.
---------------------------+------------------------------------------------
 Reporter:  kmews          |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  0.8.1   
Component:  scipy.fftpack  |     Version:  0.8.0   
 Keywords:                 |  
---------------------------+------------------------------------------------
 The attached Python script runs with 0.7.2 but fails with 0.8.0 as
 follows:

 {{{
 Traceback (most recent call last):
   File "C:\Eclipse36\workspace\Sandbox\src\scipy_issue.py", line 4, in
 <module>
     f = scipy.fftpack.basic.fft(m["GEDAP_DATA_Y"])
   File "C:\Python26\lib\site-packages\scipy\fftpack\basic.py", line 201,
 in fft
     raise ValueError("type %s is not supported" % tmp.dtype)
 ValueError: type float64 is not supported
 }}}

 I suspect it has to do with comparison of instances of dtype, with
 dtype('float64') having different values for `isbuiltin` and `byteorder`
 than the dtype associated with the `ndarray`.

 Also attached is the mat file used by the script.

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


More information about the Scipy-tickets mailing list