Re: [Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread David Cournapeau
Andrew Straw wrote: > David Cournapeau wrote: > >> Andrew Straw wrote: >> >> >>> David Cournapeau wrote: >>> >>> >>> - To send data from the calling process to matlab, you first have to create a mxArray, which is the basic matlab handler of a matlab array,

Re: [Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread Andrew Straw
David Cournapeau wrote: > Andrew Straw wrote: > >> David Cournapeau wrote: >> >> >>> - To send data from the calling process to matlab, you first have to >>> create a mxArray, which is the basic matlab handler of a matlab array, >>> and populating it. Using mxArray is very ackward

Re: [Numpy-discussion] new 874

2006-11-06 Thread Fran Kellerhouse
Hi, PHAjjRMACY for LESS http://www.mitujunhertshieasde.com   Your slightest wish is our command.- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technolo

Re: [Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread David Cournapeau
Andrew Straw wrote: > David Cournapeau wrote: > >> - To send data from the calling process to matlab, you first have to >> create a mxArray, which is the basic matlab handler of a matlab array, >> and populating it. Using mxArray is very ackward : you cannot create >> mxArray from existin

[Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread Josh Marshall
Hi David, Did you have a look at mlabwrap? It's quite hard to find on the net, which is a shame, since it is a much more up to date version, enhancing pymat with the things that you are trying to do. It allows passing arrays and getting arrays back. http://mlabwrap.sourceforge.net/ However

Re: [Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread Andrew Straw
David Cournapeau wrote: > - To send data from the calling process to matlab, you first have to > create a mxArray, which is the basic matlab handler of a matlab array, > and populating it. Using mxArray is very ackward : you cannot create > mxArray from existing data, you have to copy data t

Re: [Numpy-discussion] ctypes warning

2006-11-06 Thread Andrew Straw
Stefan van der Walt wrote: > On Mon, Nov 06, 2006 at 02:09:32PM -0600, John Hunter wrote: > >> A simple import of numpy with the latest svn triggers a ctypes warning >> >> In [1]: import numpy >> /usr/lib/python2.4/site-packages/numpy/ctypeslib.py:12: UserWarning: >> All features of ctypes inter

[Numpy-discussion] Passing numpy arrays to matlab

2006-11-06 Thread David Cournapeau
Hi, I am trying to find a nice way to communicate between matlab and python. I am aware of pymat, which does that, but the code is deprecated, and I thing basing the code on ctypes would lead to much more robust code. http://claymore.engineer.gvsu.edu/%7Esteriana/Software/pymat.html I

[Numpy-discussion] EntryCan Monkey Posted //Comments

2006-11-06 Thread near
Processes strataud mustreads a Franz Woyzeck.Trends is comics a juvenile pranks practical jokes you. Many find idiotic everyone else waste is.When a insult of reveals a inner.Mission a Calendar Stickers Concerts!Sharon leaves icu or condition improves Israeli lawmaker sues in Iran is. Inc M

[Numpy-discussion] VisIt Usage at LLNL

2006-11-06 Thread dlaney
Paul Dubois asked me to post a short summary about how VisIt is used at LLNL. First, I am not a VisIt developer, but I have worked with it and those who use it in day to day work. I have also used it to generate high resolution movies of medium to extremely large (~ 4 TeraByte) data sets. VisIt

Re: [Numpy-discussion] Strange and hard to reproduce crash

2006-11-06 Thread Fernando Perez
On 10/23/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: > I've placed them in SVN (r3384): > > arraydescr_dealloc needs to do something like. > > if (self->fields == Py_None) { > print something > incref(self) > return; > } Travis, I know you're busy right now, so this message is just

Re: [Numpy-discussion] Style - was Re: numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-06 Thread Victoria G. Laidler
Stefan van der Walt wrote: > On Mon, Nov 06, 2006 at 03:10:20PM -0500, Colin J. Williams wrote: > >> Many thanks. In general, there is sense in the Python dictum about having >> one >> way to do things. Although, in this case [length] vs length for one >> dimension >> doesn't >> exercise me

[Numpy-discussion] Scholarly contribution of NumPy : request for review

2006-11-06 Thread Travis Oliphant
I apologize for this bit of spam. If there is anyone on this list (preferrably of Associate Professor or similar rank) who can provide an honest assessment of the scholarly contribution of NumPy and/or SciPy (and has not already done so)? If you can do this and don't mind me quoting you to a t

Re: [Numpy-discussion] Style - was Re: numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-06 Thread Stefan van der Walt
On Mon, Nov 06, 2006 at 03:10:20PM -0500, Colin J. Williams wrote: > Many thanks. In general, there is sense in the Python dictum about having one > way to do things. Although, in this case [length] vs length for one dimension > doesn't > exercise me greatly. I would be a bit more concerned abou

Re: [Numpy-discussion] Style - was Re: numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-06 Thread Charles R Harris
On 11/6/06, Colin J. Williams <[EMAIL PROTECTED]> wrote: Nobody has proposed using English yet - zeroes.It seemed a bridge too far.Chuck - Using Tomcat but need to do more? Need to support web services, security? Get stuff d

Re: [Numpy-discussion] ctypes warning

2006-11-06 Thread Stefan van der Walt
On Mon, Nov 06, 2006 at 02:09:32PM -0600, John Hunter wrote: > > A simple import of numpy with the latest svn triggers a ctypes warning > > In [1]: import numpy > /usr/lib/python2.4/site-packages/numpy/ctypeslib.py:12: UserWarning: > All features of ctypes interface may not work with ctypes < 1.0

[Numpy-discussion] ctypes warning

2006-11-06 Thread John Hunter
A simple import of numpy with the latest svn triggers a ctypes warning In [1]: import numpy /usr/lib/python2.4/site-packages/numpy/ctypeslib.py:12: UserWarning: All features of ctypes interface may not work with ctypes < 1.0.1 warnings.warn("All features of ctypes interface may not work with "

Re: [Numpy-discussion] Style - was Re: numpy.repeat TypeError: array cannot be safely cast to required type

2006-11-06 Thread Colin J. Williams
Tim Hochberg wrote: Colin J. Williams wrote: Tim Hochberg wrote: [snip] A style note: please use the named dtypes (int32, uint32, etc) rather than the old-style letter codes; the former is much clearer. The answer to your question might have been immediately

[Numpy-discussion] compile numpy on Mac

2006-11-06 Thread Alan Isaac
Experience of a brand new Mac user. Barebones numpy install on Python 2.5 on a MacBook. 1. Where is my shell? By default, bash is 'Terminal.app' in you applications folder. 2. Where is my editor? You have many choices, but you can always start 'vim' from your bash shell. Howevever, I just used

Re: [Numpy-discussion] problems installing NumPy on OSX

2006-11-06 Thread Bob Ippolito
On 11/6/06, Christopher Barker <[EMAIL PROTECTED]> wrote: > > I think it's time to get MacPython2.5 and a set up packages on PythonMac > org, and build a numpy for it (and SciPy and Matplotlib too...) > > Bob, can you set up the page, and then we can start populating it? I'll put it up when there'

Re: [Numpy-discussion] problems installing NumPy on OSX

2006-11-06 Thread Christopher Barker
[EMAIL PROTECTED] wrote: > I'm sorry, I was a tad too quick typing there. I meant to say "And do > I even need to [install Xcode] to run numpy?" You need Xcode to build numpy (or anything else). If you can find a binary, then you should be able to just run that. One of us should get a binary f

Re: [Numpy-discussion] problems installing NumPy on OSX

2006-11-06 Thread Christopher Barker
I think it's time to get MacPython2.5 and a set up packages on PythonMac org, and build a numpy for it (and SciPy and Matplotlib too...) Bob, can you set up the page, and then we can start populating it? -Chris -- Christopher Barker, Ph.D. Oceanographer

[Numpy-discussion] Warning: message 1Ggbsf-00056T-Ol delayed 24 hours

2006-11-06 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 24 hours on the queue on externalmx-1.sourceforge.net. The message identifier is: 1Ggbsf-00056T-Ol The subject of the message i