ppriyajs at gmail.com
Thu Oct 1 13:55:23 CEST 2009
I have a problem in using interp from numpy for which i need 3 array.
my first array is
x = scipy.linspace(0.009,0.53,100)
and the other two array should be read from my file with 100x2 dimension
(file1_lines) but it is read as string instead of two columns
for line in file1_lines:
line = line.split()
xp = line
yp = line
y = scipy.interp(x,xp,yp)
if i code like this it takes only one value for xp and yp but 100 values for
x. i dont know what to do please help.
Life Science Informatics
University of Bonn.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list