I have a problem in using interp from numpy for which i need 3 array. <br>my first array is <br>x = scipy.linspace(0.009,0.53,100)<br><br>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 <br>
<br>for line in file1_lines:<br> line = line.split()<br> xp = line[0] <br> yp = line[1]<br> y = scipy.interp(x,xp,yp)<br>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.<br clear="all">
<br>-- <br>Padmapriya Sundrashekaran<br>Master Student<br>Life Science Informatics<br>University of Bonn.<br><br>