[Numpy-discussion] numpy documentation

2010-06-03 Thread Nicolas Gruel
Hello, I would like to document one of my project using sphinx and as it's a scientific project I would like to use the same thing than numpy for consistancy. I am using the sphinx extension provided by numpy. It's working fine but for one thing I do have a problem. The summary of the methods

Re: [Numpy-discussion] numpy documentation

2010-06-03 Thread Stéfan van der Walt
Hi Nicolas On 3 June 2010 02:03, Nicolas Gruel nicolas.gr...@gmail.com wrote: Another question, it's seems that the rst file for each function in numpy are autogenerated. Can you give me any information how to do it, please? I didn't find it on numpy website but I probably miss the good

Re: [Numpy-discussion] numpy documentation

2010-06-03 Thread Nicolas Gruel
Hi Stefan, It's seems that can be very useful indeed. I will give a try. Thank you. Nicolas 2010/6/3 Stéfan van der Walt ste...@sun.ac.za Hi Nicolas On 3 June 2010 02:03, Nicolas Gruel nicolas.gr...@gmail.com wrote: Another question, it's seems that the rst file for each function in numpy

[Numpy-discussion] Dynamic convolution in Numpy

2010-06-03 Thread arthur de conihout
Hello everybody i m fighting with a dynamic binaural synthesis(can give more hints on it if necessary). i would like to modify the sound playing according to listener's head position. I got special filters(binaural ones) per head position that i convolve in real time with a monophonic sound.When

Re: [Numpy-discussion] Dynamic convolution in Numpy

2010-06-03 Thread David Huard
Hi Arthur, I've no experience whatsoever with what you are doing, but my first thought was why don't you compute all possible versions beforehand and then progressively switch from one version to another by interpolation between the different versions. If the resolution is 15 degrees, there

[Numpy-discussion] Coordinate Camera Optics for Astrophotography -- sin(zenith)

2010-06-03 Thread Wayne Watson
It's been quite awhile since I've dealt with spherical geometry and related matters. I'm looking at a paper involving a camera and a photographic plate. The author is trying to determine the center of projection, (x0,y0), on the plate,and the rotation (or the lens, a0 (azimuth), for a lens on

Re: [Numpy-discussion] 2d binning on regular grid

2010-06-03 Thread Friedrich Romstedt
Hello Andreas, please see this as a side remark. A colleague of mine made me aware of a very beautiful thing about covering spheres by evenly spaced points: http://healpix.jpl.nasa.gov/ Since you want to calculate mean and stddev, to my understanding a grid in longitude/latitude is without

Re: [Numpy-discussion] Dynamic convolution in Numpy

2010-06-03 Thread Friedrich Romstedt
Have you ever considered using pygame? Afaik, it is based on SDL and therefore should support realtime mixing and writing to the sound buffer simultaneously as it is played back. I did not check the gory details but it seems that pygame has the Mixer interface from SDL, good luck! For your

Re: [Numpy-discussion] Coordinate Camera Optics for Astrophotography -- sin(zenith)

2010-06-03 Thread Friedrich Romstedt
Maybe it has to do with the fact that at the zenith any difference in rectascension means essentially no change? Friedrich ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] actual, desired versus x, y

2010-06-03 Thread Keith Goodman
Some of the numpy.testing assert functions call the input x and y, others call it actual and desired: actual = np.array([1+1j]) desired = np.array([2+2j]) assert_almost_equal(actual, desired) snip AssertionError: Items are not equal: ACTUAL: [ 1.+1.j] DESIRED: [ 2.+2.j]

Re: [Numpy-discussion] actual, desired versus x, y

2010-06-03 Thread Keith Goodman
On Thu, Jun 3, 2010 at 10:07 AM, Keith Goodman kwgood...@gmail.com wrote: Some of the numpy.testing assert functions call the input x and y, others call it actual and desired: actual = np.array([1+1j]) desired = np.array([2+2j]) assert_almost_equal(actual, desired) snip AssertionError:

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-03 Thread Eric Firing
On 06/02/2010 03:24 PM, Charles R Harris wrote: On Wed, Jun 2, 2010 at 7:11 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: http://www.mail-archive.com/numpy-discussion@scipy.org/msg23912.html On some systems--but evidently not for most numpy users, or there

Re: [Numpy-discussion] 2d binning on regular grid

2010-06-03 Thread josef . pktd
On Wed, Jun 2, 2010 at 11:40 AM, Andreas Hilboll li...@hilboll.de wrote: Hi there, I'm interested in the solution to a special case of the parallel thread '2D binning', which is going on at the moment. My data is on a fine global grid, say .125x.125 degrees. I'm looking for a way to do

Re: [Numpy-discussion] Coordinate Camera Optics for Astrophotography -- sin(zenith)

2010-06-03 Thread Wayne Watson
Certainly azimuth arcs get smaller as one gets closer to the zenith, so I think it's a formulation of that. It's sort of like the latitude example. On 6/3/2010 9:36 AM, Friedrich Romstedt wrote: Maybe it has to do with the fact that at the zenith any difference in rectascension means

Re: [Numpy-discussion] Numerical Recipes (for Python)?

2010-06-03 Thread Wayne Watson
The link below leads me to http://numpy.scipy.org/, with or without the whatever. IRAF is not mentioned on the home page. On 6/1/2010 9:04 PM, Anne Archibald wrote: On 2 June 2010 00:33, Wayne Watsonsierra_mtnv...@sbcglobal.net wrote: Subject is a book title from some many years ago, I