Re: [Numpy-discussion] Canopy and Anaconda

2013-04-12 Thread Robert Kern
On Fri, Apr 12, 2013 at 5:37 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Apr 10, 2013 at 4:54 PM, David Cournapeau courn...@gmail.com wrote: Hi Colin, Please ask Canopy question on the corresponding Enthought list, or Anaconda questions on the corresponding channel at

Re: [Numpy-discussion] Please stop bottom posting!!

2013-04-12 Thread Robert Kern
On Fri, Apr 12, 2013 at 5:19 AM, Colin J. Williams cjwilliam...@gmail.com wrote: PS My last posting used the word Anaconda. It was squelched. What posting are you referring to? What do you mean by squelched? Is there a post of yours that has not made it to the list yet? I can have the admin

Re: [Numpy-discussion] The I dtype character

2013-04-12 Thread Georg Brandl
Am 08.04.2013 09:14, schrieb Georg Brandl: Hi, is it intentional that I is supported as a dtype character, but cannot be suffixed with a size? dtype('i1') dtype('int8') dtype('I1') dtype('uint32') I know u is documented as unsigned integer, but this seems an unnecessary restriction

Re: [Numpy-discussion] The I dtype character

2013-04-12 Thread Nathaniel Smith
On Mon, Apr 8, 2013 at 8:14 AM, Georg Brandl g.bra...@gmx.net wrote: Hi, is it intentional that I is supported as a dtype character, but cannot be suffixed with a size? dtype('i1') dtype('int8') dtype('I1') dtype('uint32') i means integer. i1 means integer with 8 bits. I means 32-bit

[Numpy-discussion] Impossible to draw a direction of arrows in Python???

2013-04-12 Thread Happyman
Hi, I have encountered some problem while I was drawing a direction of arrow. I have point (x,y) coordinates and angle of them. What I want to do is that to draw arrow according to the given angle (just to show the point direction as an arrow in each point coordinate). Here, we should assume

Re: [Numpy-discussion] Impossible to draw a direction of arrows in Python???

2013-04-12 Thread Andreas Hilboll
Hi, I have encountered some problem while I was drawing a direction of arrow. I have point (x,y) coordinates and angle of them. What I want to do is that to draw arrow according to the given angle (just to show the point direction as an arrow in each point coordinate). Here, we should assume

Re: [Numpy-discussion] Please stop bottom posting!!

2013-04-12 Thread Derek Homeier
On 12.04.2013, at 2:14AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Apr 11, 2013 at 5:49 PM, Colin J. Williams cjwilliam...@gmail.com wrote: On 11/04/2013 7:20 PM, Paul Hobson wrote: On Wed, Apr 3, 2013 at 4:28 PM, Doug Coleman doug.cole...@gmail.com wrote: Also, gmail

[Numpy-discussion] Random number generation and testing across different OS's.

2013-04-12 Thread Andrew Nelson
I have written a differential evolution optimiser that i use for curvefitting. As a genetic optimisation technique it is stochastic and relies heavily on random number generators to do the minimisation. As part of the module tests I would like to write a cross-platform test that

Re: [Numpy-discussion] Random number generation and testing across different OS's.

2013-04-12 Thread Sebastian Berg
On Fri, 2013-04-12 at 10:50 -0400, Andrew Nelson wrote: I have written a differential evolution optimiser that i use for curvefitting. As a genetic optimisation technique it is stochastic and relies heavily on random number generators to do the minimisation. As part of the

Re: [Numpy-discussion] Random number generation and testing across different OS's.

2013-04-12 Thread Robert Kern
On Fri, Apr 12, 2013 at 8:20 PM, Andrew Nelson andyf...@gmail.com wrote: I have written a differential evolution optimiser that i use for curvefitting. As a genetic optimisation technique it is stochastic and relies heavily on random number generators to do the minimisation. As

Re: [Numpy-discussion] Time Zones and datetime64

2013-04-12 Thread Riccardo De Maria
Not related to leap seconds and physically accurate time deltas, I have just noticed that SQLite has a nice API: http://www.sqlite.org/lang_datefunc.html that one can be inspired from. The source contains a date.c which looks reasonably clear. Riccardo

[Numpy-discussion] Non-Integer deprecations

2013-04-12 Thread Sebastian Berg
Hey all, just revisiting non-integer (index) deprecations (basically https://github.com/numpy/numpy/pull/2891). I believe for all natural integer arguments, it is correct to do a deprecation if the input is not an integer. (Technically most of these go through PyArray_PyIntAsIntp, and if not

Re: [Numpy-discussion] Time Zones and datetime64

2013-04-12 Thread Chris Barker - NOAA Federal
On Fri, Apr 12, 2013 at 9:52 AM, Riccardo De Maria riccardodema...@gmail.com wrote: Not related to leap seconds and physically accurate time deltas, I have just noticed that SQLite has a nice API: http://www.sqlite.org/lang_datefunc.html that one can be inspired from. The source contains a

Re: [Numpy-discussion] Time Zones and datetime64

2013-04-12 Thread Anthony Scopatz
Thanks for putting this together Chris. I am in favor of option (1) Pure UTC. I think it is the simplest to implement, and to get from / to other time zones is one ufunc application. On the other hand, option (3) full time zone support isn't too bad either. It is more work to implement but a

Re: [Numpy-discussion] Time Zones and datetime64

2013-04-12 Thread Colin J. Williams
On 12/04/2013 3:57 PM, Chris Barker - NOAA Federal wrote: On Fri, Apr 12, 2013 at 9:52 AM, Riccardo De Maria riccardodema...@gmail.com wrote: Not related to leap seconds and physically accurate time deltas, I have just noticed that SQLite has a nice

Re: [Numpy-discussion] Please stop bottom posting!!

2013-04-12 Thread Paul Ivanov
Paul Ivanov wrote: ... But I just came across a wonderfully short signature from Rick Moen, and thought I'd pass it along: Cheers, A: Yes. Rick MoenQ: Are you sure? rick@linuxmafia A: Because it reverses the logical flow of conversation. .com McQ!