[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 14:19:10 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:  loadmat        |  
---------------------------+------------------------------------------------
Changes (by pv):

  * keywords:  => loadmat


Comment:

 The issue seems to be in the byte order. The indicator is `'<'` while it
 should be `'='`.

 This is actually partly a Numpy bug: '=' should hash equal to '<' (or '>'
 on big-endian) -- since they compare equal.

 On the other hand, the Matlab reader in `scipy.io` should not skip the
 byteorder normalization.

 Finally, `scipy.fftpack.fft` should perhaps automatically try to cast the
 input to a supported type, as it earlier did.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1300#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