Re: [Numpy-discussion] numpy, matplotlib and masked arrays

2010-07-09 Thread Peter Isaac
John Hunter wrote: > On Fri, Jul 9, 2010 at 8:03 PM, Peter Isaac wrote: > >> Note that EPD-6.2-2 works fine with this script on WinXP. >> > > >> Any suggestions welcome >> > > then just use epd-6.2.2 on winxp. > > your-mpl-developer-channeling-steve-jobs, > JDH > > > _

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Joshua Holbrook
On Fri, Jul 9, 2010 at 5:26 PM, Keith Goodman wrote: > On Fri, Jul 9, 2010 at 6:11 PM, Joshua Holbrook > wrote: > >> I think I like being able to group ticks with their axis, so I know >> which ticks belong to which axis without having to scan back-and-forth >> between them to match them up. Do

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 6:11 PM, Joshua Holbrook wrote: > I think I like being able to group ticks with their axis, so I know > which ticks belong to which axis without having to scan back-and-forth > between them to match them up. Do you think you can explain why you > would prefer to separate la

Re: [Numpy-discussion] numpy, matplotlib and masked arrays

2010-07-09 Thread John Hunter
On Fri, Jul 9, 2010 at 8:03 PM, Peter Isaac wrote: > Note that EPD-6.2-2 works fine with this script on WinXP. > Any suggestions welcome then just use epd-6.2.2 on winxp. your-mpl-developer-channeling-steve-jobs, JDH ___ NumPy-Discussion mailing lis

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Joshua Holbrook
On Fri, Jul 9, 2010 at 4:56 PM, Keith Goodman wrote: > On Fri, Jul 9, 2010 at 5:52 PM, Joshua Holbrook > wrote: >> On Fri, Jul 9, 2010 at 4:22 PM, Keith Goodman wrote: >>> On Fri, Jul 9, 2010 at 5:00 PM, Christopher Barker >>> wrote: Keith Goodman wrote: > On Fri, Jul 9, 2010 at 4:05

[Numpy-discussion] numpy, matplotlib and masked arrays

2010-07-09 Thread Peter Isaac
hello fellow numpyneers, I'm not sure if this is a problem with numpy, matplotlib, EPD or me but here goes. The general problem is that either matplotlib has stopped plotting masked arrays correctly or numpy has changed the way masked arrays are presented. Or there is something strange with the

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 5:52 PM, Joshua Holbrook wrote: > On Fri, Jul 9, 2010 at 4:22 PM, Keith Goodman wrote: >> On Fri, Jul 9, 2010 at 5:00 PM, Christopher Barker >> wrote: >>> Keith Goodman wrote: On Fri, Jul 9, 2010 at 4:05 PM, Christopher Barker wrote: > So what would you

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Joshua Holbrook
On Fri, Jul 9, 2010 at 4:22 PM, Keith Goodman wrote: > On Fri, Jul 9, 2010 at 5:00 PM, Christopher Barker > wrote: >> Keith Goodman wrote: >>> On Fri, Jul 9, 2010 at 4:05 PM, Christopher Barker >>> wrote: >>> So what would you get if you wanted: MyDataArray['jones':'wilson']

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 5:00 PM, Christopher Barker wrote: > Keith Goodman wrote: >> On Fri, Jul 9, 2010 at 4:05 PM, Christopher Barker >> wrote: >> >>> So what would you get if you wanted: >>> >>> MyDataArray['jones':'wilson'] >>> >>> or >>> >>> MyDataArray.names[slice('jones','wilson')] >>> >>>

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Christopher Barker
Keith Goodman wrote: > On Fri, Jul 9, 2010 at 4:05 PM, Christopher Barker > wrote: > >> So what would you get if you wanted: >> >> MyDataArray['jones':'wilson'] >> >> or >> >> MyDataArray.names[slice('jones','wilson')] >> >> or whatever the syntax would be? >> >> If it was in alphabetical order,

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 4:05 PM, Christopher Barker wrote: > So what would you get if you wanted: > > MyDataArray['jones':'wilson'] > > or > > MyDataArray.names[slice('jones','wilson')] > > or whatever the syntax would be? > > If it was in alphabetical order, you'd be all set, but what it if > was

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Christopher Barker
Hi folks, There has been a lot of great discussion about this -- and I"m really glad to see it happening -- I've been putting off refactoring my own lame, limited, poorly designed, special purpose version of this for ages. One question I have (that may have been answered) is about slicing: I t

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 1:53 PM, Rob Speer wrote: > Keith Goodman wrote: >> I ran into a few more questions while playing with datarrays, so I started a >> list: >> http://github.com/kwgoodman/datarrayQ > > I have quick answers to some of the questions. Thank you! Comments below. >> Can I have t

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Rob Speer
Keith Goodman wrote: > I ran into a few more questions while playing with datarrays, so I started a > list: > http://github.com/kwgoodman/datarrayQ I have quick answers to some of the questions. > Can I have ticks without labels? Ideally, yes, but good catch: the current code disallows that for

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Joshua Holbrook
>> I was going to reply to it after I considered its contents but kinda >> forgot until now. >> >> Anyways: while I like the idea of having ticks that correspond to >> their axis being next to each other as the current behavior goes, I >> find this alternative syntax easier to read, probably due to

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Keith Goodman
On Fri, Jul 9, 2010 at 1:17 PM, Joshua Holbrook wrote: > On Fri, Jul 9, 2010 at 11:42 AM, Rob Speer wrote: >> Now, the one part I've implemented that I just made up instead of >> looking to the SciPy consensus (because there was no SciPy consensus) >> was how to refer to multiple labeled axes wit

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Joshua Holbrook
On Fri, Jul 9, 2010 at 11:42 AM, Rob Speer wrote: > Now, the one part I've implemented that I just made up instead of > looking to the SciPy consensus (because there was no SciPy consensus) > was how to refer to multiple labeled axes without repeating ".axis" > all over the place. My choice, which

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread Rob Speer
Now, the one part I've implemented that I just made up instead of looking to the SciPy consensus (because there was no SciPy consensus) was how to refer to multiple labeled axes without repeating ".axis" all over the place. My choice, which I call "magical axis attributes", is to have arr.somelabel

Re: [Numpy-discussion] A release for python 2.7?

2010-07-09 Thread Christoph Gohlke
On 7/9/2010 7:11 AM, Peter wrote: > On Fri, Jul 9, 2010 at 2:09 PM, Jon Wright wrote: >> >> Hello, >> >> It seems that python 2.7 has been released, but the current numpy >> download on sourceforge (1.4.1) segfaults for me using mingw on windows. >> This seems to be fixed in trunk. Is a new rele

Re: [Numpy-discussion] A release for python 2.7?

2010-07-09 Thread Peter
On Fri, Jul 9, 2010 at 2:09 PM, Jon Wright wrote: > > Hello, > > It seems that python 2.7 has been released, but the current numpy > download on sourceforge (1.4.1) segfaults for me using mingw on windows. > This seems to be fixed in trunk. Is a new release planned in the near > future? > > Thanks

[Numpy-discussion] A release for python 2.7?

2010-07-09 Thread Jon Wright
Hello, It seems that python 2.7 has been released, but the current numpy download on sourceforge (1.4.1) segfaults for me using mingw on windows. This seems to be fixed in trunk. Is a new release planned in the near future? Thanks Jon ___ NumPy-Dis

[Numpy-discussion] [ANN] Autumn School "Advanced Scientific Programming in Python" in Trento, Italy

2010-07-09 Thread Tiziano Zito
Advanced Scientific Programming in Python = an Autumn School by the G-Node, the Center for Mind/Brain Sciences and the Fondazione Bruno Kessler Scientists spend more and more time writing, maintaining, and debugging software. While techniques for doing this

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-09 Thread LluĂ­s
Rob Speer writes: > My implementation is still missing the case with named ticks but > positional axes, however. [...] Just a quick hack: http://github.com/xscript/datarray Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes tha

[Numpy-discussion] f2py problem with complex inout in subroutine

2010-07-09 Thread Mark Bakker
Hello list. The following subroutine fails to compile with f2py. I use a complex variable with intent(inout). It works fine with two real variables, so I have a workaround, but it would be nicer with a complex variable. Any thoughts on what I am doing wrong? Thanks, Mark module bessel contains