-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Francesco,
|| I have also a problem while importing
| from numpy import Float64
| I can use only
| from numpy import float64
| can it be related to the other problem?
~ Scipy/matplotlib used to use Numeric (or numarray) as their
'numerix' backend before they switched to numpy, and there are a few
things that are different in numpy (from Numeric). The example you
gave is one; Numeric used to have a Float64 type, which got changed to
float64, so scipy.Float64 (or pylab.Float64) no longer works. I'm not
really sure if numpy ever had a Float64 type, bcause I never used it
before I had to (because of scipy).
~ While on the topic, significantly more annoying was the fact that
default behavior of certain scipy/matplotlib functions changed due to
the backend switch. For example, previously scipy.log(+ve number) or
scipy.sqrt(+ve number) used to return floating point results, while
scipy.log(-ve) or scipy.sqrt(-ve) returned the appropriate complex
(imaginary) number. After the switch, scipy.sqrt(-ve) returns 'nan'
while you have to ask for scipy.sqrt(-ve+0j) to get the proper complex
result. You need to watch out for that, too, in case you're switching
scipy/numpy versions (I know all too well, because suddenly my codes
started spewing out nonsensical results after I switched versions).
- -Sourish
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iQIVAwUBRVtObLq7YmsVF20EAQpUKA//UJTrUIwy2rlEwHv0jm/7p2hrn5f5qXZR
N27n/hIuGy5F9uKWP9hY/4WMc2tNvV7RuBRHJUULYnBP02irO9D7LWMdCAbYl74o
+CNDggyiYMF1Pwo/1bs0feAS8F2oQ+T6UablZ66paPfaTI/j7iXHCXPJGdYrpqPU
yyuFavRZejiEFO6+SM0b3DPEUla97vULIg/AmTra1spczSgbQeSi28AtcYY+aTzB
nAn8ngo2Wve2X1+pQKvdg8HLA58JSEkj9plMy7P9QD6FHud06C9b07PN+UQAH5nA
LZyS0vST40SE9XsxLFcKuUW6VYApAx0cw/5ukLo1570K2mScd4Ym9YKvqjOTSXaY
6u/x+1WuoU+erOsw72vzigCJ4ve/i7Y9/80juuM4+xWfHIK2w01mdK8lzFyhOwE1
OaJqUE/8aDS9seilDngCSFXlhI2GHV0dxYbCuuzbbIRHTTUhrqCJaHWWAwCoZuHs
7/YIA4ZK6/kLXnq7xG+tefo9YGVkvh1Xk/oxYcTZYacuo3y/aFlNMyIMjXNcxfhZ
wWdCelKjo2efORSSFOF6q0gyK2us44Yo/E/VQiuUeB54yl8wvx0s/5vSn3Rcmios
dYzQI8/RlYAFMu84arM03HJaedHEkwvn0XvafRtdSUKOWhE3xAZK54LFPFPQ68QF
kow8f66SJb8=
=QJUr
-----END PGP SIGNATURE-----