Hi All,
Currently fromfile prints a message raises a MemoryError when more items are
requested than read, but fromstring raises a value error:
In [8]: fromstring("", count=10)
---
ValueErrorTra
On 22-May-09, at 6:13 PM, Christopher Barker wrote:
> that's why I put a sys.maxint at the end of the series...
Oops! I foolishly assumed the sequence was unaltered. That makes a lot
more sense.
David
___
Numpy-discussion mailing list
Numpy-discussio
On May 22, 2009, at 6:15 PM, Christopher Barker wrote:
> Pierre GM wrote:
>> scikits.hydroclimpy.core.tools (hydroclimpy.sourceforge.net).
>
> whoa! Why didn't I ever see that before. Here I am , witting a whole
> bunch of my own code to deal with time series of meteorological
> data
> argg
Pierre GM wrote:
> scikits.hydroclimpy.core.tools (hydroclimpy.sourceforge.net).
whoa! Why didn't I ever see that before. Here I am , witting a whole
bunch of my own code to deal with time series of meteorological data
argg!
Now I need to go dig into that more.
-Chris
--
Christopher B
David Warde-Farley wrote:
> I don't think this is very general:
>
> In [53]: indices
> Out[53]:
> array([ -3, 1, 2, 3, 4, 5, 6, 7, 8,
> 9, 255, 256, 257, 258, 10001, 10002, 10003, 10004])
>
> In [54]: breaks = diff(indices) != 1
>
> In [55]:
On Fri, May 22, 2009 at 3:59 PM, David Warde-Farley wrote:
> On 22-May-09, at 1:03 PM, Christopher Barker wrote:
>
>> In [104]: zip(indices[np.r_[True, breaks[:-1]]], indices[breaks])
>
>
>
> I don't think this is very general:
>
> In [53]: indices
> Out[53]:
> array([ -3, 1, 2, 3,
On May 22, 2009, at 12:31 PM, Andrea Gavana wrote:
> Hi All,
>
>this should be a very easy question but I am trying to make a
> script run as fast as possible, so please bear with me if the solution
> is easy and I just overlooked it.
>
> I have a list of integers, like this one:
>
> indices
Francesc Alted wrote:
> A Wednesday 20 May 2009 16:45:12 Travis Oliphant escrigué:
>> Hello all Python users:
>>
>> I am pleased to announce the beginning of a free Webinar series that
>> discusses using Python for scientific computing. Enthought will host
>> this free series which will take pla
A Wednesday 20 May 2009 16:45:12 Travis Oliphant escrigué:
> Hello all Python users:
>
> I am pleased to announce the beginning of a free Webinar series that
> discusses using Python for scientific computing. Enthought will host
> this free series which will take place once a month for 30-45
> m
On 22-May-09, at 1:03 PM, Christopher Barker wrote:
> In [104]: zip(indices[np.r_[True, breaks[:-1]]], indices[breaks])
I don't think this is very general:
In [53]: indices
Out[53]:
array([ -3, 1, 2, 3, 4, 5, 6, 7, 8,
9, 255, 256, 257, 258,
Andrea Gavana wrote:
> I have a list of integers, like this one:
>
> indices = [1,2,3,4,5,6,7,8,9,255,256,257,258,10001,10002,10003,10004]
>
>>From this list, I would like to find out which values are consecutive
> and store them in another list of tuples (begin_consecutive,
> end_consecutive) or
On Fri, May 22, 2009 at 12:31 PM, Andrea Gavana wrote:
> Hi All,
>
> this should be a very easy question but I am trying to make a
> script run as fast as possible, so please bear with me if the solution
> is easy and I just overlooked it.
>
> I have a list of integers, like this one:
>
> indic
Hi All,
this should be a very easy question but I am trying to make a
script run as fast as possible, so please bear with me if the solution
is easy and I just overlooked it.
I have a list of integers, like this one:
indices = [1,2,3,4,5,6,7,8,9,255,256,257,258,10001,10002,10003,10004]
>Fro
A Friday 22 May 2009 13:52:46 Andrew Friedley escrigué:
> (sending again)
>
> Hi,
>
> I'm the student doing the project. I have a blog here, which contains
> some initial performance numbers for a couple test ufuncs I did:
>
> http://numcorepy.blogspot.com
>
> It's really too early yet to give def
A Friday 22 May 2009 13:59:17 Andrew Friedley escrigué:
> Using multiple cores is pretty easy for element-wise ufuncs; no
> communication needs to occur and the work partitioning is trivial. And
> actually I've found with some initial testing that multiple cores does
> still help when you are memo
Francesc Alted wrote:
> A Friday 22 May 2009 11:42:56 Gregor Thalhammer escrigué:
>> dmitrey schrieb:
>> 3) Improving performance by using multi cores is much more difficult.
>> Only for sufficiently large (>1e5) arrays a significant speedup is
>> possible. Where a speed gain is possible, the MKL
(sending again)
Hi,
I'm the student doing the project. I have a blog here, which contains
some initial performance numbers for a couple test ufuncs I did:
http://numcorepy.blogspot.com
It's really too early yet to give definitive results though; GSoC
officially starts in two days :) What I'
Fri, 22 May 2009 10:00:56 +0200, Francesc Alted kirjoitti:
[clip: pyhdf5io]
> I've been having a look at your module and seems pretty cute.
> Incidentally, there is another module module that does similar things:
>
> http://www.elisanet.fi/ptvirtan/software/hdf5pickle/index.html
>
> However, I d
A Friday 22 May 2009 11:55:31 Gregor Thalhammer escrigué:
> dmitrey schrieb:
> > Hi all,
> > I expected to have some speedup via using ldexp or multiplying an
> > array by a power of 2 (doesn't it have to perform a simple shift of
> > mantissa?), but I don't see the one.
> >
> > # Let me also note
A Friday 22 May 2009 11:42:56 Gregor Thalhammer escrigué:
> dmitrey schrieb:
> > hi all,
> > has anyone already tried to compare using an ordinary numpy ufunc vs
> > that one from corepy, first of all I mean the project
> > http://socghop.appspot.com/student_project/show/google/gsoc2009/python/t1
>
dmitrey schrieb:
> Hi all,
> I expected to have some speedup via using ldexp or multiplying an
> array by a power of 2 (doesn't it have to perform a simple shift of
> mantissa?), but I don't see the one.
>
> # Let me also note -
> # 1) using b = 2 * ones(N) or b = zeros(N) doesn't yield any speedup
dmitrey schrieb:
> hi all,
> has anyone already tried to compare using an ordinary numpy ufunc vs
> that one from corepy, first of all I mean the project
> http://socghop.appspot.com/student_project/show/google/gsoc2009/python/t124024628235
>
> It would be interesting to know what is speedup for (e
Hello Albert,
A Thursday 21 May 2009 22:32:10 escriguéreu:
> Hi,
> First of all thanks for your work on PyTables! I think it is excellent
> and it has been really nice working with it.
>
> I'm writing this because i have developed a small python module that
> uses pyTables:
>
> http://code.google.
23 matches
Mail list logo