Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-05 Thread Ralf Gommers
On Tue, Jul 5, 2011 at 11:41 PM, Russell E. Owen wrote: > In article , > Ralf Gommers wrote: > > > https://sourceforge.net/projects/numpy/files/NumPy/1.6.1rc2/ > > Will there be a Mac binary for 32-bit pythons (one that is compatible > with older versions of MacOS X)? At present I only see a 64

Re: [Numpy-discussion] NA/Missing Data Conference Call Summary

2011-07-05 Thread Benjamin Root
Thanks for these notes. Just a couple of thoughts as I looked over these notes. On Tue, Jul 5, 2011 at 6:46 PM, Christopher Jordan-Squire wrote: > 3. Using IGNORE to signal a jagged array. e.g., [ [1, 2, IGNORE], [IGNORE, > 3, 4] ] should behave exactly the same as [ [1 , 2] , [3 , 4] ]. Though

[Numpy-discussion] NA/Missing Data Conference Call Summary

2011-07-05 Thread Christopher Jordan-Squire
Here's a short-ish summary of the topics discussed in the conference call this afternoon. WARNING: I try to give examples for everything discussed to make it as concrete as possible. However, most of the examples were not explicitly discussed during the conference. I apologize in advance if I misch

Re: [Numpy-discussion] Moving lib.recfunctions?

2011-07-05 Thread Pierre GM
On Jul 5, 2011, at 9:23 PM, Skipper Seabold wrote: > On Tue, Jul 5, 2011 at 2:46 PM, Pierre GM wrote: >>> >>> <...> >> >> Hello, >> The idea behin having a lib.recfunctions and not a rec.recfunctions or >> whatever was to illustrate that the functions of this package are more >> generic than

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-05 Thread Russell E. Owen
In article , Ralf Gommers wrote: > https://sourceforge.net/projects/numpy/files/NumPy/1.6.1rc2/ Will there be a Mac binary for 32-bit pythons (one that is compatible with older versions of MacOS X)? At present I only see a 64-bit 10.6-only version. -- Russell ___

Re: [Numpy-discussion] suggestions on optimising a special matrix reshape

2011-07-05 Thread Christopher Barker
qu...@gmx.at wrote: > i have to reshape a matrix beta of the form (4**N, 4**N, 4**N, 4**N) > into betam like (16**N, 16**N) following: > > betam = np.zeros((16**N,16**N), dtype = complex) > for k in xrange(16**N): > ind1 = np.mod(k,4**N) > ind2 = k/4**N > for l in xrange(16**N): >

[Numpy-discussion] suggestions on optimising a special matrix reshape

2011-07-05 Thread qubax
i have to reshape a matrix beta of the form (4**N, 4**N, 4**N, 4**N) into betam like (16**N, 16**N) following: betam = np.zeros((16**N,16**N), dtype = complex) for k in xrange(16**N): ind1 = np.mod(k,4**N) ind2 = k/4**N for l in xrange(16**N): betam[k,l] = beta[np.mod(l,4**N),

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Christopher Barker
Mark Wiebe wrote: > Speaking of which, would we make the NA value be false? > > For booleans, it works out like this: > > http://en.wikipedia.org/wiki/Ternary_logic#Kleene_logic That's pretty cool! > In R, trying to test the truth value of NA ("if (NA) ...") raises an > exception. Adopting

Re: [Numpy-discussion] conference call / gotomeeting to discuss the missing data design

2011-07-05 Thread Lluís
Mark Wiebe writes: > We'll have someone taking notes to create a summary as Nathaniel suggested. Thanks. -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster

Re: [Numpy-discussion] Moving lib.recfunctions?

2011-07-05 Thread Skipper Seabold
On Tue, Jul 5, 2011 at 2:46 PM, Pierre GM wrote: > > On Jul 5, 2011, at 8:33 PM, Skipper Seabold wrote: > >> On Fri, Jul 1, 2011 at 2:32 PM, Skipper Seabold wrote: >>> On Fri, Jul 1, 2011 at 2:22 PM,   wrote: On Fri, Jul 1, 2011 at 1:59 PM, Skipper Seabold wrote: > lib.recfunction

Re: [Numpy-discussion] Moving lib.recfunctions?

2011-07-05 Thread Pierre GM
On Jul 5, 2011, at 8:33 PM, Skipper Seabold wrote: > On Fri, Jul 1, 2011 at 2:32 PM, Skipper Seabold wrote: >> On Fri, Jul 1, 2011 at 2:22 PM, wrote: >>> On Fri, Jul 1, 2011 at 1:59 PM, Skipper Seabold wrote: lib.recfunctions has never been fully advertised. The two bugs I just disc

Re: [Numpy-discussion] Moving lib.recfunctions?

2011-07-05 Thread Skipper Seabold
On Fri, Jul 1, 2011 at 2:32 PM, Skipper Seabold wrote: > On Fri, Jul 1, 2011 at 2:22 PM,   wrote: >> On Fri, Jul 1, 2011 at 1:59 PM, Skipper Seabold wrote: >>> lib.recfunctions has never been fully advertised. The two bugs I just >>> discovered lead me to believe that it's not that well vetted, b

Re: [Numpy-discussion] conference call / gotomeeting to discuss the missing data design

2011-07-05 Thread Mark Wiebe
Here are the details for the call: 1. Please join my meeting, Jul 5, 2011 at 2:00 PM Central time. https://www1.gotomeeting.com/join/972295593 2. Use your microphone and speakers (VoIP) - a headset is recommended. Or, call in using your telephone. Dial +1 (312) 878-3070 Access Code: 972-295-59

Re: [Numpy-discussion] conference call / gotomeeting to discuss the missing data design

2011-07-05 Thread Nathaniel Smith
Also, I can see the motivation for wanting a voice meeting, but on the subject of keeping people in the loop, could we make sure that someone is taking notes on what happens, and that they get posted to the list? -- Nathaniel On Tue, Jul 5, 2011 at 6:12 AM, Mark Wiebe wrote: > On Fri, Jul 1, 201

Re: [Numpy-discussion] NEPaNEP lessons - was: alterNEP

2011-07-05 Thread Nathaniel Smith
On Sat, Jul 2, 2011 at 6:28 AM, Matthew Brett wrote: > Here the primary discussion I was trying to start was about why the > discussion failed and led to bad feeling. Well, I have a hypothesis, don't know if it's true. It goes like this: Most of the time, when one of us decides to take the troubl

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Neal Becker
Charles R Harris wrote: > On Tue, Jul 5, 2011 at 8:37 AM, Charles R Harris > wrote: > >> >> >> On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker wrote: >> >>> Charles R Harris wrote: >>> >>> > On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker >>> wrote: >>> > >>> >> I thought I'd try to speed up numpy on m

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread josef . pktd
On Tue, Jul 5, 2011 at 12:26 PM, Ted To wrote: > On 07/05/2011 11:07 AM, josef.p...@gmail.com wrote: >> For example sample x>=U and then sample y>=u-x. That's two univariate >> normal samples. > > Ah, that's what I was looking for!  Many thanks! just in case I wasn't clear, if x and y are correla

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Mark Wiebe
On Tue, Jul 5, 2011 at 11:45 AM, Benjamin Root wrote: > > On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker wrote: > >> >> Speaking of which, would we make the NA value be false? >> >> > The NEP currently states that accessing np.NA as a boolean will act as an > error. However, logical_and([NA, Fals

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Benjamin Root
On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker wrote: > > Speaking of which, would we make the NA value be false? > > The NEP currently states that accessing np.NA as a boolean will act as an error. However, logical_and([NA, False]) == False and logical_or([NA, True]) will be special-cased. This

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Mark Wiebe
On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker wrote: > On 7/3/11 9:03 PM, Joe Harrington wrote: > > Christopher Barker, Ph.D. wrote > >> quick note on this: I like the "FALSE == good" way, because: > > > > So, you like to have multiple different kinds of masked, but I need > > multiple good value

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Chris Barker
On 7/3/11 9:03 PM, Joe Harrington wrote: > Christopher Barker, Ph.D. wrote >> quick note on this: I like the "FALSE == good" way, because: > > So, you like to have multiple different kinds of masked, but I need > multiple good values for counts. fair enough, maybe there isn't a consensus about wha

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread Ted To
On 07/05/2011 11:07 AM, josef.p...@gmail.com wrote: > For example sample x>=U and then sample y>=u-x. That's two univariate > normal samples. Ah, that's what I was looking for! Many thanks! ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org ht

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread josef . pktd
On Tue, Jul 5, 2011 at 10:33 AM, Ted To wrote: > On 07/05/2011 10:17 AM, josef.p...@gmail.com wrote: >> On Mon, Jul 4, 2011 at 10:13 PM, Ted To wrote: >>> Hi, >>> >>> Is there an easy way to make random draws from a conditional random >>> variable?  E.g., draw a random variable, x conditional on

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 8:37 AM, Charles R Harris wrote: > > > On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker wrote: > >> Charles R Harris wrote: >> >> > On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker >> wrote: >> > >> >> I thought I'd try to speed up numpy on my fedora system by rebuilding >> the >> >

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker wrote: > Charles R Harris wrote: > > > On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker wrote: > > > >> I thought I'd try to speed up numpy on my fedora system by rebuilding > the > >> atlas > >> package so it would be tuned for my machine. But when I do:

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread Ted To
On 07/05/2011 10:17 AM, josef.p...@gmail.com wrote: > On Mon, Jul 4, 2011 at 10:13 PM, Ted To wrote: >> Hi, >> >> Is there an easy way to make random draws from a conditional random >> variable? E.g., draw a random variable, x conditional on x>=\bar x. > > If you mean here truncated distribution

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread josef . pktd
On Mon, Jul 4, 2011 at 10:13 PM, Ted To wrote: > Hi, > > Is there an easy way to make random draws from a conditional random > variable?  E.g., draw a random variable, x conditional on x>=\bar x. If you mean here truncated distribution, then I asked a similar question on the scipy user list a mon

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Neal Becker
Charles R Harris wrote: > On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker wrote: > >> I thought I'd try to speed up numpy on my fedora system by rebuilding the >> atlas >> package so it would be tuned for my machine. But when I do: >> >> rpmbuild -ba -D 'enable_native_atlas 1' atlas.spec >> >> it f

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker wrote: > I thought I'd try to speed up numpy on my fedora system by rebuilding the > atlas > package so it would be tuned for my machine. But when I do: > > rpmbuild -ba -D 'enable_native_atlas 1' atlas.spec > > it fails with: > > res/zgemvN_5000_100 :

[Numpy-discussion] custom atlas

2011-07-05 Thread Neal Becker
I thought I'd try to speed up numpy on my fedora system by rebuilding the atlas package so it would be tuned for my machine. But when I do: rpmbuild -ba -D 'enable_native_atlas 1' atlas.spec it fails with: res/zgemvN_5000_100 : VARIATION EXCEEDS TOLERENCE, RERUN WITH HIGHER REPS. A bit of go

Re: [Numpy-discussion] conference call / gotomeeting to discuss the missing data design

2011-07-05 Thread Mark Wiebe
On Fri, Jul 1, 2011 at 2:22 PM, Mark Wiebe wrote: > The missing data thread has gotten a bit heated, and after sitting down > with Travis to discuss the issues a bit, we've concluded that it would be > nice to do a call with everyone who's interested in the discussion with > better communication