[IPython-user] ipythonrc-scipy and numpy
Ryan Krauss
ryanlists at gmail.com
Sat Oct 28 15:23:28 CDT 2006
I am trying to edit my ipythonrc-scipy profile to eliminate some error
messages related to Numeric. I don't have Numeric installed and I
think these errors are slowing down my boot up time.
Is the line
execfile Extensions/numeric_formats.py
necessary at all if I am using only the new numpy (i.e. I have neither
Numeric nor numarray installed)? From a quick glance at
numeric_formats.py it looks like it is used to print Numeric arrays to
the screen. Running IPython -pylab -p scipy with this line commented
out doesn't seem to cause problems for printing numpy arrays:
In [1]: t=arange(0,10,0.001)
In [2]: t
Out[2]:
array([ 0.00000000e+00, 1.00000000e-03, 2.00000000e-03, ...,
9.99700000e+00, 9.99800000e+00, 9.99900000e+00])
I also changed this line
import_all scipy IPython.numutils
to just
import_all scipy
I haven't seen any adverse affects so far, but don't completely
understand the ramifications.
Thanks,
Ryan
More information about the IPython-user
mailing list