Re: [Numpy-discussion] [pystatsmodels] Re: ANN: pandas 0.10.0 released

2012-12-21 Thread Chang She
On Dec 21, 2012, at 3:27 PM, Collin Sellman wrote: > Thanks, Wes and team. I've been looking through the new features, but > haven't found any documentation on the integration with the Google Analytics > API. I was just in the midst of trying to pull data into Pandas from GA in > v.0.9.0, s

Re: [Numpy-discussion] Travis-CI stopped supporting Python 3.1, but added 3.3

2012-12-21 Thread Ondřej Čertík
On Fri, Dec 21, 2012 at 12:05 PM, Nathaniel Smith wrote: > On Fri, Dec 21, 2012 at 1:23 AM, Ondřej Čertík > wrote: >> Hi, >> >> I noticed that the 3.1 tests are now failing. After clarification with >> the Travis guys: >> >> https://groups.google.com/d/topic/travis-ci/02iRu6kmwY8/discussion >> >

Re: [Numpy-discussion] Travis-CI stopped supporting Python 3.1, but added 3.3

2012-12-21 Thread Nathaniel Smith
On Fri, Dec 21, 2012 at 1:23 AM, Ondřej Čertík wrote: > Hi, > > I noticed that the 3.1 tests are now failing. After clarification with > the Travis guys: > > https://groups.google.com/d/topic/travis-ci/02iRu6kmwY8/discussion > > I've submitted a fix to our .travis.yml (and backported to 1.7): > >

Re: [Numpy-discussion] Travis-CI stopped supporting Python 3.1, but added 3.3

2012-12-21 Thread Ralf Gommers
On Fri, Dec 21, 2012 at 2:23 AM, Ondřej Čertík wrote: > Hi, > > I noticed that the 3.1 tests are now failing. After clarification with > the Travis guys: > > https://groups.google.com/d/topic/travis-ci/02iRu6kmwY8/discussion > > I've submitted a fix to our .travis.yml (and backported to 1.7): > >

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Happyman
Thanks But I could find for Win64 bit windows Second question: Did you mean that I have to put lens limits of those number???   Пятница, 21 декабря 2012, 15:45 UTC от Pauli Virtanen : >Hi, > >Your code tries to to evaluate > >z = 1263309.3633394379 + 101064.74910119522j >jv(536, z)

[Numpy-discussion] Numpy speed ups to simple tasks - final findings and suggestions

2012-12-21 Thread Raul Cota
Hello, On Dec/2/2012 I sent an email about some meaningful speed problems I was facing when porting our core program from Numeric (Python 2.2) to Numpy (Python 2.6). Some of our tests went from 30 seconds to 90 seconds for example. I saw interest from some people in this list and I left the t

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Pauli Virtanen
Hi, Your code tries to to evaluate z = 1263309.3633394379 + 101064.74910119522j jv(536, z) # -> (inf+inf*j) In reality, this number is not infinite, but jv(536, z) == -2.3955170861527422e+43888 + 9.6910119847300024e+43887 These numbers (~ 10^43888) are too large for the floatin

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Happyman
I think you advised about the code which is the same appearance. == Problem is not here Sir I will give you exactly what I was talking about. I have ready codes already(It would be kind of you if you checked the following

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Lev Givon
Received from Pauli Virtanen on Fri, Dec 21, 2012 at 08:59:02AM EST: > Dag Sverre Seljebotn astro.uio.no> writes: > [clip] > > Do you have an implemention of the Bessel functions that work as you > > wish in C or Fortran? If so, that could be wrapped and called from Python. > > For spherical Bes

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Pauli Virtanen
Dag Sverre Seljebotn astro.uio.no> writes: [clip] > Do you have an implemention of the Bessel functions that work as you > wish in C or Fortran? If so, that could be wrapped and called from Python. For spherical Bessel functions it's possible to also use the relation to Bessel functions, which h

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Dag Sverre Seljebotn
On 12/21/2012 02:30 PM, Happyman wrote: > I have everything in C or Fortran...According to my friends > recommendations I started learning Python for my research... > > Do you mean the functions which gave Nan result has not been developed > properly yet in Python, Don't you The way most of Nu

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Happyman
I have everything in C or Fortran...According to my friends recommendations I started learning Python for my research... Do you mean the functions which gave Nan result has not been developed properly yet in Python, Don't you For about 1.5 months I have been facing the same problem for Bes

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Pauli Virtanen
Happyman mail.ru> writes: > Thanks Pauli But I have already very shortly built  for bessel > function, but the code you gave me is in Fortran.. I also used > f2py but I could not manage to read fortran codes..that is why > I have asked in Python what is wrong?? That Fortran code is `sph_jn`, whic

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Happyman
Thanks Pauli But I have already very shortly built  for bessel function, but the code you gave me is in Fortran.. I also used f2py but I could not manage to read fortran codes..that is why I have asked in Python what is wrong?? Пятница, 21 декабря 2012, 12:46 UTC от Pauli Virtanen : >Happyman

Re: [Numpy-discussion] Byte aligned arrays

2012-12-21 Thread Francesc Alted
On 12/21/12 1:35 PM, Dag Sverre Seljebotn wrote: > On 12/20/2012 03:23 PM, Francesc Alted wrote: >> On 12/20/12 9:53 AM, Henry Gomersall wrote: >>> On Wed, 2012-12-19 at 19:03 +0100, Francesc Alted wrote: The only scenario that I see that this would create unaligned arrays is for mac

Re: [Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Pauli Virtanen
Happyman mail.ru> writes: [clip] > IF I GIVE ( it is necessary value for my program ): > a , b = sph_jn ( 536 , 2513.2741228718346 + 201.0619298974676j ) The implementation of the spherical Bessel functions is through this Fortran code: https://github.com/scipy/scipy/blob/master/scipy/special/s

Re: [Numpy-discussion] Byte aligned arrays

2012-12-21 Thread Dag Sverre Seljebotn
On 12/20/2012 03:23 PM, Francesc Alted wrote: > On 12/20/12 9:53 AM, Henry Gomersall wrote: >> On Wed, 2012-12-19 at 19:03 +0100, Francesc Alted wrote: >>> The only scenario that I see that this would create unaligned arrays >>> is >>> for machines having AVX. But provided that the Intel architect

Re: [Numpy-discussion] Byte aligned arrays

2012-12-21 Thread Francesc Alted
On 12/21/12 11:58 AM, Henry Gomersall wrote: > On Fri, 2012-12-21 at 11:34 +0100, Francesc Alted wrote: >>> Also this convolution code: >>> https://github.com/hgomersall/SSE-convolution/blob/master/convolve.c >>> >>> Shows a small but repeatable speed-up (a few %) when using some >> aligned >>> loa

[Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions

2012-12-21 Thread Happyman
DEAR PYTHON USERS DO MATHEMATICAL FUNCTIONS HAVE LIMITATION IN PYTHON in comparison with other programming languages I have two mathematical functions: from scipy.special import sph_jn,  sph_jnyn 1)  sph_jn (n, z) ---> n is float, z is complex number for example:  a,b=sph_jn ( 2.0 , 5+0

Re: [Numpy-discussion] Byte aligned arrays

2012-12-21 Thread Henry Gomersall
On Fri, 2012-12-21 at 11:34 +0100, Francesc Alted wrote: > > Also this convolution code: > > https://github.com/hgomersall/SSE-convolution/blob/master/convolve.c > > > > Shows a small but repeatable speed-up (a few %) when using some > aligned > > loads (as many as I can work out to use!). > > Oka

Re: [Numpy-discussion] Byte aligned arrays

2012-12-21 Thread Francesc Alted
On 12/20/12 7:35 PM, Henry Gomersall wrote: > On Thu, 2012-12-20 at 15:23 +0100, Francesc Alted wrote: >> On 12/20/12 9:53 AM, Henry Gomersall wrote: >>> On Wed, 2012-12-19 at 19:03 +0100, Francesc Alted wrote: The only scenario that I see that this would create unaligned >> arrays is >>>

Re: [Numpy-discussion] Future of numpy (was: DARPA funding for Blaze and passing the NumPy torch)

2012-12-21 Thread Travis Oliphant
On Dec 20, 2012, at 7:39 PM, Nathaniel Smith wrote: > On Thu, Dec 20, 2012 at 11:46 PM, Matthew Brett > wrote: >> Travis - I think you are suggesting that there should be no one >> person in charge of numpy, and I think this is very unlikely to work >> well. Perhaps there are good examples o