[Numpy-discussion] Cross-covariance function

2012-01-18 Thread Elliot Saba
Greetings, I recently needed to calculate the cross-covariance of two random vectors, (e.g. I have two matricies, X and Y, the columns of which are observations of one variable, and I wish to generate a matrix pairing each value of X and Y) and so I wrote a small utility function to do so, and I'd

Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Fernando Perez
On Wed, Jan 18, 2012 at 10:19 PM, Scott Sinclair wrote: > I think (as usual), the problem is that fixing the situation lies on > the shoulders of people who are already heavily overburdened.. I certainly understand that problem, as I'm eternally behind on a million things regarding ipython. But

Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Scott Sinclair
On 19 January 2012 00:44, Fernando Perez wrote: > On Wed, Jan 18, 2012 at 2:18 AM, Scott Sinclair > wrote: >> It's rather confusing having two websites. The "official" page at >> http://www.scipy.org/Download points to github. > > The problem is that this page, which looks pretty official to just

Re: [Numpy-discussion] NumPy / SciPy related tutorials at PyCon 2012

2012-01-18 Thread Chao YUE
Does anybody know if there is similar chance for training in Paris? (or other places of France)/ the price is nice, just because it's in US thanks, Chao 2012/1/18 Olivier Grisel > Hi all, > > Just a quick email to advertise this year's PyCon tutorials as they > are very focused on HPC & da

Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Fernando Perez
On Wed, Jan 18, 2012 at 2:18 AM, Scott Sinclair wrote: > It's rather confusing having two websites. The "official" page at > http://www.scipy.org/Download points to github. The problem is that this page, which looks pretty official to just about anyone: http://numpy.scipy.org/ takes you to the

[Numpy-discussion] NumPy / SciPy related tutorials at PyCon 2012

2012-01-18 Thread Olivier Grisel
Hi all, Just a quick email to advertise this year's PyCon tutorials as they are very focused on HPC & data analytics. In particular the numpy / scipy ecosystem is well covered, see: https://us.pycon.org/2012/schedule/tutorials/ Here is a selection of tutorials with an abstracts that mention nu

Re: [Numpy-discussion] "Reference count error detected" bug appears with multithreading (OpenMP & TBB)

2012-01-18 Thread Robert Kern
On Wed, Jan 18, 2012 at 16:14, Malcolm Reynolds wrote: >> >> I suspect that you are obtaining the numpy object (1 Py_INCREF) before >> you split into multiple threads but releasing them in each thread >> (multiple Py_DECREFs). This is probably being hidden from you by the >> boost.python interface

Re: [Numpy-discussion] "Reference count error detected" bug appears with multithreading (OpenMP & TBB)

2012-01-18 Thread Malcolm Reynolds
> > I suspect that you are obtaining the numpy object (1 Py_INCREF) before > you split into multiple threads but releasing them in each thread > (multiple Py_DECREFs). This is probably being hidden from you by the > boost.python interface and/or the boost::detail::sp_counted_impl_p<> > smart(ish) p

Re: [Numpy-discussion] "Reference count error detected" bug appears with multithreading (OpenMP & TBB)

2012-01-18 Thread Robert Kern
On Wed, Jan 18, 2012 at 14:59, Malcolm Reynolds wrote: > Hi, > > I've built a system which allocates numpy arrays and processes them in > C++ code (this is because I'm building a native code module using > boost.python and it makes sense to use numpy data storage to then deal > with outputs in pyt

[Numpy-discussion] "Reference count error detected" bug appears with multithreading (OpenMP & TBB)

2012-01-18 Thread Malcolm Reynolds
Hi, I've built a system which allocates numpy arrays and processes them in C++ code (this is because I'm building a native code module using boost.python and it makes sense to use numpy data storage to then deal with outputs in python, without having to do any copying). Everything seems fine excep

Re: [Numpy-discussion] Loading a Quicktime moive (*.mov) as series of arrays

2012-01-18 Thread Robert Kern
On Wed, Jan 18, 2012 at 10:19, Peter wrote: > Sending this again (sorry Robert, this will be the second time > for you) since I sent from a non-subscribed email address the > first time. > > On Sun, Jan 15, 2012 at 7:12 PM, Robert Kern wrote: >> On Sun, Jan 15, 2012 at 19:10, Peter wrote: >>> Hell

Re: [Numpy-discussion] Loading a Quicktime moive (*.mov) as series of arrays

2012-01-18 Thread Peter
Sending this again (sorry Robert, this will be the second time for you) since I sent from a non-subscribed email address the first time. On Sun, Jan 15, 2012 at 7:12 PM, Robert Kern wrote: > On Sun, Jan 15, 2012 at 19:10, Peter wrote: >> Hello all, >> >> Is there a recommended (and ideally cross p

Re: [Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Scott Sinclair
On 18 January 2012 11:22, Fernando Perez wrote: > I was just pointing a colleague to the 'official download page' for > numpy so he could find how to grab current sources: > > http://new.scipy.org/download.html > > but I was quite surprised to find that it still points to SVN for both > numpy and

Re: [Numpy-discussion] Counting the Colors of RGB-Image

2012-01-18 Thread apo
Sorry, that i use this way to send an answer to Tony Yu , Nadav Horesh , Chris Barker. When iam direct answering on Your e-mail i get an error 5. I think i did a mistake. Your ideas are very helpfull and the code is very fast. Thank You elodw ___

[Numpy-discussion] Download page still points to SVN

2012-01-18 Thread Fernando Perez
Hi folks, I was just pointing a colleague to the 'official download page' for numpy so he could find how to grab current sources: http://new.scipy.org/download.html but I was quite surprised to find that it still points to SVN for both numpy and scipy. It would probably not be a bad idea to upd