I have successfully (I think) coerced my students into using
Scipy/Numpy for signal processing and dynamic system modeling.  They
are mechanical engineering coming from a Matlab background.  In order
to make using Python easy and have it feel like Matlab,  I teach them
to put

from scipy import *
from pylab import *

at the beginning of every script.  One problem with this is that the
zeros and ones functions of pylab default to integers while those from
scipy default to floating point numbers.  I have had several students
this week beating there heads against problems that turned out to be
trying to put floating point values in an array that was created using
pylab.zeros.

Can this be changed?  Is there a better approach I should take in
getting my students started using scipy and pylab together?

Thanks,

Ryan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to