Re: [Numpy-discussion] A step toward merging odeint and ode

2012-08-16 Thread Fabrice Silva
Le mercredi 15 août 2012 à 20:54 +0200, Ralf Gommers a écrit : I was mixing it up a bit, but yes: the _odepack extension and the C source for it. Not necessary to do that at once I guess, but wrapping the same function twice is once too many. And forgot in my first email: nice PR, looks

Re: [Numpy-discussion] QQ Plot in Python and Noncentral Chisquare

2012-08-16 Thread Yi, Chuang
Thank you Josef, df can be less than 1 as long as it is nonnegative: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Chisquare.html Here is an example in R: Z0-rchisq(2,df=0.5,ncp =2) Z0 [1] 0.5056454 2.0427540 Thanks, Chuang -Original Message- From:

Re: [Numpy-discussion] QQ Plot in Python and Noncentral Chisquare

2012-08-16 Thread josef . pktd
On Thu, Aug 16, 2012 at 9:05 AM, Yi, Chuang chuang...@bankofamerica.com wrote: Thank you Josef, df can be less than 1 as long as it is nonnegative: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Chisquare.html Here is an example in R: Z0-rchisq(2,df=0.5,ncp =2) Z0 [1] 0.5056454

Re: [Numpy-discussion] QQ Plot in Python and Noncentral Chisquare

2012-08-16 Thread Yi, Chuang
-Original Message- From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of josef.p...@gmail.com Sent: Thursday, August 16, 2012 9:55 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] QQ Plot in Python and Noncentral Chisquare

[Numpy-discussion] Multidimensional neighbours

2012-08-16 Thread Jose Gomez-Dans
Hi, I've just come across Travis Oliphant's array version of the game of life here https://gist.github.com/3353411. It's a really nice example of how to efficiently find neighbours using numpy and family. However, I wanted to apply these ideas to higher order arrays (eg GRID being three

Re: [Numpy-discussion] Multidimensional neighbours

2012-08-16 Thread Sebastian Berg
Hello, Just to throw it in, if you do not mind useing scipy, you can use its multidimensional correlate method instead: stamp = np.ones((3,3,3)) stamp[1,1,1] = 0 num_neighbours = scipy.ndimage.correlate(x, stamp, mode='wrap')) In the link np.roll is used to implement periodic boundaries

[Numpy-discussion] ANN: FiPy 3.0

2012-08-16 Thread Daniel Wheeler
We are pleased to announce the release of FiPy 3.0. http://www.ctcms.nist.gov/fipy The bump in major version number reflects more on the substantial increase in capabilities and ease of use than it does on a break in compatibility with FiPy 2.x. Few, if any, changes to your existing scripts

[Numpy-discussion] Correlated distributions (?)

2012-08-16 Thread Andrea Gavana
Hi All, once again, my apologies for a (possibly) very ignorant question, my google-fu is failing me... also because I am not sure of what exactly I should look for. My problem is relatively simple. Let's assume I have two Python objects, A and B, and one of their attributes can assume a

Re: [Numpy-discussion] Multidimensional neighbours

2012-08-16 Thread Cera, Tim
I have a pull request for a neighborhood function at https://github.com/numpy/numpy/pull/303 . I think IMHO it handles these problems quite handily. It does rely on my pad routine that is in Numpy 1.7, so you would need to get the 1.7 beta installed or install the development branch. For your

Re: [Numpy-discussion] Correlated distributions (?)

2012-08-16 Thread josef . pktd
On Thu, Aug 16, 2012 at 3:27 PM, Andrea Gavana andrea.gav...@gmail.comwrote: Hi All, once again, my apologies for a (possibly) very ignorant question, my google-fu is failing me... also because I am not sure of what exactly I should look for. My problem is relatively simple. Let's

Re: [Numpy-discussion] Correlated distributions (?)

2012-08-16 Thread nicky van foreest
Hi, once again, my apologies for a (possibly) very ignorant question, my google-fu is failing me... also because I am not sure of what exactly I should look for. My problem is relatively simple. Let's assume I have two Python objects, A and B, and one of their attributes can assume a

[Numpy-discussion] 64bit infrastructure

2012-08-16 Thread Sayth Renshaw
Hi I was just wondering if the current absence of 64bit builds was as a result of an infrastructure or funding concern. I like many now have only 64 bit systems and am using the unofficial builds. If it was something we could raise funds to resolve, how much? Or is it more complex than that?