[Numpy-discussion] using Matlab compiler to build Python-callable library?

2011-09-12 Thread Reckoner
Hi, Has anybody ever tried using the Matlab compiler to build a standalone library that would be callable using Python? We have a lot of leftover Matlab code that we are trying to migrate. Thanks! ___ NumPy-Discussion mailing list NumPy-Discussion@scip

[Numpy-discussion] Very good series of numpy tutorial videos here

2010-04-16 Thread reckoner
FYI, there is a very good series of numpy tutorial videos here: http://showmedo.com/videotutorials/series?name=i9KuJuNcG It covers a wide range of topics, not just the basics. Cheers! ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://

[Numpy-discussion] What does float64 mean on a 32-bit machine?

2010-03-24 Thread reckoner
How can I have a float64 dtype on a 32-bit machine? For example: In [90]: x = array([1/3],dtype=float32) In [91]: x Out[91]: array([ 0.3334], dtype=float32) In [92]: x = array([1/3],dtype=float64) In [93]: x Out[93]: array([ 0.]) Obviously, the float32 and float64 representations

[Numpy-discussion] dtype='|S8' -- what does vertical bar mean?

2010-03-23 Thread Reckoner
Hi, I've been looking through the documentation and occasionally there is a dtype='|S8' reference or something with a "|" in it. I don't know what the "|" this notation means. I can't find it in the documentation. This should be easy. Little help? thanks in advance. _

[Numpy-discussion] Matlab's griddata3 for numpy?

2009-12-23 Thread reckoner
Hi, I realize that there is a griddata for numpy via matplotlib, but is there a griddata3 (same has griddata, but for higher dimensions). Any help appreciated. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailma

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-05 Thread Reckoner
ay needs the binary mode while list does not? Also, for my own edification, how did you know that my "pickle files produced on Windows were contaminated by \r\n line feeds". Thanks again! On Thu, Nov 5, 2009 at 5:47 AM, Pauli Virtanen wrote: > Wed, 04 Nov 2009 19:21:57 -0800, R

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-04 Thread Reckoner
FYI, I uploaded the two files in question to the numpy ticket http://projects.scipy.org/numpy/ticket/1284 Thanks! On Wed, Nov 4, 2009 at 3:56 PM, Bruce Southey wrote: > On Wed, Nov 4, 2009 at 8:06 AM, Reckoner wrote: >> Here's an example: >> >> On winxp 64-bit

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-04 Thread Reckoner
Bruce : The file in question was created as shown in the prior e-mail. Here it is again: >> cPickle.dump(a,open('from32bitxp.pkl','w')) Thanks! On Wed, Nov 4, 2009 at 3:56 PM, Bruce Southey wrote: > On Wed, Nov 4, 2009 at 8:06 AM, Reckoner wrote: >> Here&

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-04 Thread Reckoner
import numpy >>> numpy.__version__ '1.3.0' Same result on the Linux side: ImportError: No module named multiarray. Thanks! On Wed, Nov 4, 2009 at 7:17 AM, Charles R Harris wrote: > > > On Wed, Nov 4, 2009 at 7:06 AM, Reckoner wrote: >> >> Here's an

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-04 Thread Reckoner
on winxp and get the same problem on the linux host. Here's more interesting info: On linux: >>> a = numpy.eye(10) >>> cPickle.dump(a,open('from64bitLinux.pkl','w')) upon transferring the file to winxp 32 and on winxp32: >>> cPickle.load(open('

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-02 Thread Reckoner
currently working around this issue. Thanks again. On Mon, Nov 2, 2009 at 2:43 PM, Bruce Southey wrote: > On Mon, Nov 2, 2009 at 2:42 PM, Reckoner wrote: >> Anybody have any ideas here? >> >> Otherwise, I'm thinking this should be posted to the numpy bugs list. >> What&#

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-11-02 Thread Reckoner
Anybody have any ideas here? Otherwise, I'm thinking this should be posted to the numpy bugs list. What's the best way to report a bug of this kind? Thanks! On Fri, Oct 30, 2009 at 5:48 PM, Reckoner wrote: >> Robert Kern wrote: >> You can import numpy.core.multiarray on

Re: [Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-10-30 Thread Reckoner
re-numpy-ing them on the respective hosts thanks. On Fri, Oct 30, 2009 at 11:13 AM, Reckoner wrote: > Hi, > > % python -c 'import numpy.core.multiarray' > > works just fine, but when I try to load a file that I have transferred > from another machine running Wind

[Numpy-discussion] persistent ImportError: No module named multiarray when moving cPickle files between machines

2009-10-30 Thread Reckoner
Hi, % python -c 'import numpy.core.multiarray' works just fine, but when I try to load a file that I have transferred from another machine running Windows to one running Linux, I get: % python -c 'import cPickle;a=cPickle.load(open("matrices.pkl"))' Traceback (most recent call last): File ""

[Numpy-discussion] ImportError: No module named multiarray

2009-08-17 Thread Reckoner
he result of numpy.test() >>> numpy.test() Running unit tests for numpy NumPy version 1.2.1 NumPy is installed in /nfs/02/reckoner/Starburst/lib/python2.5/site-packages/numpy Python version 2.5.4 (r254:67