Re: [Numpy-discussion] Dealing with roundoff error

2010-03-29 Thread Mike Sarahan
On Sun, Mar 28, 2010 at 12:44 PM, Friedrich Romstedt friedrichromst...@gmail.com wrote: 2010/3/28 Mike Sarahan msara...@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

[Numpy-discussion] Dealing with roundoff error

2010-03-27 Thread Mike Sarahan
Hi all, 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 think Robert's post here explains why the problem exists:

[Numpy-discussion] FFT's IFFT's on images

2008-07-02 Thread Mike Sarahan
to convert arrays to images, and I'm working with 8-bit grayscale images. Any help is much appreciated! Thanks, Mike Sarahan ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] FFT's IFFT's on images

2008-07-02 Thread Mike Sarahan
Walt wrote: Hi Mike 2008/7/2 Mike Sarahan [EMAIL PROTECTED]: I'm trying to do phase reconstruction on images which involves switching back and forth between Fourier space and real space. I'm trying to test numpy ( scipy, for that matter) just to see if I can go back and forth. After

Re: [Numpy-discussion] FFT's IFFT's on images

2008-07-02 Thread Mike Sarahan
Beautiful! Thanks Stefan! It was the PIL bug. Thanks for all the replies. -Mike On Thu, 2008-07-03 at 01:00 +0200, Stéfan van der Walt wrote: Hi Mike 2008/7/3 Mike Sarahan [EMAIL PROTECTED]: I agree that the components are very small, and in a numeric sense, I wouldn't worry at all