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 mwwi...@gmail.com 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

[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

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker ndbeck...@gmail.com 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:

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 ndbeck...@gmail.com 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

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 rainexpec...@theo.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

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker ndbeck...@gmail.com wrote: Charles R Harris wrote: On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker ndbeck...@gmail.com 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

Re: [Numpy-discussion] custom atlas

2011-07-05 Thread Charles R Harris
On Tue, Jul 5, 2011 at 8:37 AM, Charles R Harris charlesr.har...@gmail.comwrote: On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker ndbeck...@gmail.com wrote: Charles R Harris wrote: On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker ndbeck...@gmail.com wrote: I thought I'd try to speed up numpy

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread josef . pktd
On Tue, Jul 5, 2011 at 10:33 AM, Ted To rainexpec...@theo.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 rainexpec...@theo.to wrote: Hi, Is there an easy way to make random draws from a conditional random variable?  E.g., draw a random

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

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 what is

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Mark Wiebe
On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker chris.bar...@noaa.gov 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

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Benjamin Root
On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker chris.bar...@noaa.gov 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

Re: [Numpy-discussion] Missing/accumulating data

2011-07-05 Thread Mark Wiebe
On Tue, Jul 5, 2011 at 11:45 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker chris.bar...@noaa.govwrote: 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.

Re: [Numpy-discussion] Conditional random variables

2011-07-05 Thread josef . pktd
On Tue, Jul 5, 2011 at 12:26 PM, Ted To rainexpec...@theo.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

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 charlesr.har...@gmail.comwrote: On Tue, Jul 5, 2011 at 8:13 AM, Neal Becker ndbeck...@gmail.com wrote: Charles R Harris wrote: On Tue, Jul 5, 2011 at 7:45 AM, Neal Becker ndbeck...@gmail.com wrote: I thought

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

2011-07-05 Thread Nathaniel Smith
On Sat, Jul 2, 2011 at 6:28 AM, Matthew Brett matthew.br...@gmail.com 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

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 mwwi...@gmail.com wrote:

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:

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

2011-07-05 Thread Skipper Seabold
On Fri, Jul 1, 2011 at 2:32 PM, Skipper Seabold jsseab...@gmail.com wrote: On Fri, Jul 1, 2011 at 2:22 PM,  josef.p...@gmail.com wrote: On Fri, Jul 1, 2011 at 1:59 PM, Skipper Seabold jsseab...@gmail.com wrote: lib.recfunctions has never been fully advertised. The two bugs I just discovered

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 jsseab...@gmail.com wrote: On Fri, Jul 1, 2011 at 2:22 PM, josef.p...@gmail.com wrote: On Fri, Jul 1, 2011 at 1:59 PM, Skipper Seabold jsseab...@gmail.com wrote: lib.recfunctions has never

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

2011-07-05 Thread Skipper Seabold
On Tue, Jul 5, 2011 at 2:46 PM, Pierre GM pgmdevl...@gmail.com wrote: On Jul 5, 2011, at 8:33 PM, Skipper Seabold wrote: On Fri, Jul 1, 2011 at 2:32 PM, Skipper Seabold jsseab...@gmail.com wrote: On Fri, Jul 1, 2011 at 2:22 PM,  josef.p...@gmail.com wrote: On Fri, Jul 1, 2011 at 1:59 PM,

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 in

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 this

[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] 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):

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

2011-07-05 Thread Russell E. Owen
In article BANLkTi=LXiTcrv1LgMtP=p9nF8eMr8=+h...@mail.gmail.com, Ralf Gommers ralf.gomm...@googlemail.com 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

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 pgmdevl...@gmail.com 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

[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

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 cjord...@uw.eduwrote: 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

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 ro...@uw.edu wrote: In article BANLkTi=LXiTcrv1LgMtP=p9nF8eMr8=+h...@mail.gmail.com, Ralf Gommers ralf.gomm...@googlemail.com wrote: https://sourceforge.net/projects/numpy/files/NumPy/1.6.1rc2/ Will there be a Mac binary for 32-bit pythons