[Numpy-discussion] working with matrix....

2008-06-27 Thread Alfredo Alessandrini
I must analyse many data (about 2000 historical series of two variables). This data are organized in matrix. I must calculate some simple statistical analysis, and I must write a script for to automate the processing. I've a simple question: What's the better method or working (I'm a beginner

Re: [Numpy-discussion] working with matrix....

2008-06-27 Thread Gael Varoquaux
On Fri, Jun 27, 2008 at 10:58:33AM +0200, Alfredo Alessandrini wrote: What's the better method or working (I'm a beginner of python and R): - Numpy - Bash shell + R - Rpy + R - Other possibilities?? numpy + scipy.stats and when you need more Rpy, but I like to keep it to a minimum. Gaƫl

[Numpy-discussion] Windows_XP_x86_64_MSVC buildbot

2008-06-27 Thread Thomas Heller
I'm going to have a 2 or 3-weeks vacation, and will shut down the Windows_XP_x86_64_MSVC during this time. I will restart it when I come back, sorry for the inconvenience. Thanks, Thomas ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

[Numpy-discussion] Should the fields in void scalars be available?

2008-06-27 Thread Charles R Harris
Question, In [24]: x = array(('1', u'2'), dtype=[('a', '|S4'), ('b', 'U2')]) In [25]: x.shape Out[25]: () In [26]: x['a'] Out[26]: array('1', dtype='|S4') Shouldn't the last be a string? Chuck ___ Numpy-discussion mailing list

[Numpy-discussion] Scipy08 Paper submission deadline extention to Monday 30th

2008-06-27 Thread Gael Varoquaux
The deadline for submitting abstracts to the Scipy conference was tonight. In order to give you more time to submit excellent abstracts, the review committee is extending the deadline to Monday (June 30th), and will work hastily to get all of them reviewed in time for the program announcement, on

Re: [Numpy-discussion] Scipy08 Paper submission deadline extention to Monday 30th

2008-06-27 Thread Charles R Harris
On Fri, Jun 27, 2008 at 12:24 PM, Gael Varoquaux [EMAIL PROTECTED] wrote: The deadline for submitting abstracts to the Scipy conference was tonight. In order to give you more time to submit excellent abstracts, the review committee is extending the deadline to Monday (June 30th), and will

Re: [Numpy-discussion] Scipy08 Paper submission deadline extention to Monday 30th

2008-06-27 Thread Gael Varoquaux
On Fri, Jun 27, 2008 at 12:41:25PM -0600, Charles R Harris wrote: So how do we find the abstracts/papers for review? Hey Chuck, If you question is: how do you, as a member of the review committee, get to read the abstracts, the answer is that I will send a pdf with all of them. I am really

Re: [Numpy-discussion] Should the fields in void scalars be available?

2008-06-27 Thread Robert Kern
On Fri, Jun 27, 2008 at 10:27, Charles R Harris [EMAIL PROTECTED] wrote: Question, In [24]: x = array(('1', u'2'), dtype=[('a', '|S4'), ('b', 'U2')]) In [25]: x.shape Out[25]: () In [26]: x['a'] Out[26]: array('1', dtype='|S4') Shouldn't the last be a string? No. In [6]: x =

[Numpy-discussion] sampling based on running sums

2008-06-27 Thread John Hunter
I would like to find the sample points where the running sum of some vector exceeds some threshold -- at those points I want to collect all the data in the vector since the last time the criteria was reached and compute some stats on it. For example, in python tot = 0. xs = [] ys =

Re: [Numpy-discussion] Should the fields in void scalars be available?

2008-06-27 Thread Travis E. Oliphant
Robert Kern wrote: The only inconsistency I can see here is that x.item() gives a tuple rather than a scalar record. A scalar record does have field access, but the tuple doesn't. In [28]: x.item()['a'] .item() always returns a standard Python type. So, this is expected behavior. If

Re: [Numpy-discussion] Should the fields in void scalars be available?

2008-06-27 Thread Robert Kern
On Fri, Jun 27, 2008 at 17:13, Travis E. Oliphant [EMAIL PROTECTED] wrote: Robert Kern wrote: The only inconsistency I can see here is that x.item() gives a tuple rather than a scalar record. A scalar record does have field access, but the tuple doesn't. In [28]: x.item()['a'] .item()

[Numpy-discussion] SciPy Conference Updates

2008-06-27 Thread Travis Vaught
Greetings, The SciPy Conference is not too far away. I thought I'd summarize some recent news about the conference in case some of you missed it: - Accommodations (news!): We've negotiated a group rate with a nearby Marriott hotel, for those that would like to take advantage of it. The

Re: [Numpy-discussion] Record arrays

2008-06-27 Thread Sebastian Haase
On Fri, Jun 27, 2008 at 7:10 AM, Fernando Perez [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2008 at 1:25 PM, Robert Kern [EMAIL PROTECTED] wrote: One downside of this is that the attribute access feature slows down all field accesses, even the r['foo'] form, because it sticks a bunch of pure

Re: [Numpy-discussion] sampling based on running sums

2008-06-27 Thread Robert Kern
On Fri, Jun 27, 2008 at 15:06, John Hunter [EMAIL PROTECTED] wrote: I would like to find the sample points where the running sum of some vector All non-negative, right? exceeds some threshold -- at those points I want to collect all the data in the vector since the last time the criteria was