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

[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

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

2009-11-05 Thread Reckoner
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 pav...@iki.fi wrote: Wed, 04 Nov 2009 19:21:57 -0800, Reckoner wrote: Bruce : The file in question

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

2009-11-04 Thread Reckoner
; but problems going the other way. Please let me know if you need more info on this. Any help appreciated. On Tue, Nov 3, 2009 at 4:55 AM, Bruce Southey bsout...@gmail.com wrote: On Mon, Nov 2, 2009 at 6:31 PM, Reckoner recko...@gmail.com wrote: thanks for the suggestion! I will look into it. The other

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

2009-11-04 Thread Reckoner
on the Linux side: ImportError: No module named multiarray. Thanks! On Wed, Nov 4, 2009 at 7:17 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Nov 4, 2009 at 7:06 AM, Reckoner recko...@gmail.com wrote: Here's an example: On winxp 64-bit: Python 2.5.2 (r252:60911, Feb 21 2008, 13

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 bsout...@gmail.com wrote: On Wed, Nov 4, 2009 at 8:06 AM, Reckoner recko...@gmail.com wrote: Here's

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 bsout...@gmail.com wrote: On Wed, Nov 4, 2009 at 8:06 AM, Reckoner recko...@gmail.com wrote: Here's an example: On winxp 64

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 recko...@gmail.com wrote: Robert Kern wrote: You can import numpy.core.multiarray on both

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

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

[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

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

2009-10-30 Thread Reckoner
on the respective hosts thanks. On Fri, Oct 30, 2009 at 11:13 AM, Reckoner recko...@gmail.com 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 Windows to one running Linux, I get: %  python

[Numpy-discussion] ImportError: No module named multiarray

2009-08-17 Thread Reckoner
1.2.1 NumPy is installed in /nfs/02/reckoner/Starburst/lib/python2.5/site-packages/numpy Python version 2.5.4 (r254:67916, Feb 5 2009, 19:52:35) [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] nose version 0.10.3