I am using recarray to store experiment information that is read from a file:
self.records =
numpy.rec.fromrecords(self.allData,formats='f4,S30,S30,f4,f4,f4,f4,f4,f4,f4,f4,f4,f4',names='MotorNum,MotorType,MotorName,MotorHP,
NSync,NShaftFL,NShaft,pLoad,pLoadSlipMethod,
pLoadORMEL,etaMeasured,eta
That's it. I had named one of my files new.py. Thanks so much; now I have one
less evidence that I'm going crazy.
Kevin
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_
I've started to use numpy (1.0.4) and matplotlib but it suddenly quit working.
Now when I import a simple test script:
import numpy
numpy.linspace(0,1)
it gives the following error:
>>>
Traceback (most recent call last):
File "D:/anothertest.py", line 1, in
import numpy
File "C:\Pytho
I'm doing a quick cleanup of NumPy on wikipedia.
1. What is the proper name? NumPy or Numerical Python? (I understand that
numarray and numeric are older, and now deprecated versions.) If it is NumPy
then I would suggest renaming the page to that and then *only* talk about the
other (confusing)