[Numpy-discussion] Dealing with roundoff error
Friedrich Romstedt
friedrichromstedt at gmail.com
Sun Mar 28 15:44:31 EDT 2010
2010/3/28 Mike Sarahan <msarahan at gmail.com>:
> I have run into some roundoff problems trying to line up some
> experimental spectra. The x coordinates are given in intervals of 0.1
> units. I read the data in from a text file using np.loadtxt().
I don't know your problem well enough, so the suggestion to use
numpy.interp() is maybe not more than a useless shot in the dark?
http://docs.scipy.org/doc/numpy/reference/generated/numpy.interp.html#numpy.interp
Friedrich
More information about the NumPy-Discussion
mailing list