Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Vishal Rana
Robert, As you said, I was able to get the results, but I now got a question as np.load('np.npz') returns me a object so does that mean the data is read directly from the from the npz file and not all the data is loaded to the memory? Thanks Vishal Rana On Mon, Jun 14, 2010 at 5:08 PM, Robert

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-14 Thread David
On 06/15/2010 12:15 PM, Vincent Davis wrote: > Is this http://github.com/cournape/numpy going to become the git repo? No, this is just a mirror of the svn repo, and used by various developers to do their own stuff. > I guess I am wondering what the progress is of the transition? It is progressi

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-14 Thread Vincent Davis
Is this http://github.com/cournape/numpy going to become the git repo? I guess I am wondering what the progress is of the transition? Vincent On Sun, Jun 6, 2010 at 7:43 PM, David wrote: > On 06/05/2010 11:43 PM, Pauli Virtanen wrote: >> Fri, 04 Jun 2010 15:28:52 -0700, Matthew Brett wrote:

[Numpy-discussion] Compiling NumPy on 64 bit Solaris 10 sparc)

2010-06-14 Thread Chris LeBlanc
Hi, Firstly thanks to everyone that has helped bring NumPy to the point it is today. Its an excellent bit of software. I've recently managed to get NumPy to compile on a 64 bit Solaris 10 (sparc) machine. We've embedded 64 bit Python in some of our C code using the Python C-API, and therefore r

Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Vishal Rana
Thanks Robert On Mon, Jun 14, 2010 at 5:08 PM, Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > > Hi, > > I have dictionary of numpy record arrays, what could be fastest way to > > save/load to/from a disk. I tried numpy.save() but my dictionary is lost > and > > cPickl

Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Warren Weckesser
Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:27, Warren Weckesser > wrote: > >> Robert Kern wrote: >> >>> On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: >>> >>> Hi, I have dictionary of numpy record arrays, what could be fastest way to save/load to/from a disk.

Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Robert Kern
On Mon, Jun 14, 2010 at 19:27, Warren Weckesser wrote: > Robert Kern wrote: >> On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: >> >>> Hi, >>> I have dictionary of numpy record arrays, what could be fastest way to >>> save/load to/from a disk. I tried numpy.save() but my dictionary is lost and >

Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Warren Weckesser
Robert Kern wrote: > On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > >> Hi, >> I have dictionary of numpy record arrays, what could be fastest way to >> save/load to/from a disk. I tried numpy.save() but my dictionary is lost and >> cPickle seems to be slow. >> > > numpy.savez() will s

Re: [Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Robert Kern
On Mon, Jun 14, 2010 at 19:00, Vishal Rana wrote: > Hi, > I have dictionary of numpy record arrays, what could be fastest way to > save/load to/from a disk. I tried numpy.save() but my dictionary is lost and > cPickle seems to be slow. numpy.savez() will save a dictionary of arrays out to a .zip

[Numpy-discussion] Fastest way to save a dictionary of numpy record arrays

2010-06-14 Thread Vishal Rana
Hi, I have dictionary of numpy record arrays, what could be fastest way to save/load to/from a disk. I tried numpy.save() but my dictionary is lost and cPickle seems to be slow. Thanks Vishal ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] Tensor contraction

2010-06-14 Thread Alan Bromborsky
Dag Sverre Seljebotn wrote: > Did you have a look at the tensors in Theano? They seem to merge tensor > algebra, SymPy, NumPy and (optional) GPU computing etc. Even if it > doesn't fill your needs it could perhaps be a better starting point? > > http://deeplearning.net/software/theano/library/ten

Re: [Numpy-discussion] Tensor contraction

2010-06-14 Thread Dag Sverre Seljebotn
Did you have a look at the tensors in Theano? They seem to merge tensor algebra, SymPy, NumPy and (optional) GPU computing etc. Even if it doesn't fill your needs it could perhaps be a better starting point? http://deeplearning.net/software/theano/library/tensor/basic.html Dag Sverre Alan Brom

Re: [Numpy-discussion] Tensor contraction

2010-06-14 Thread Friedrich Romstedt
2010/6/13 Alan Bromborsky : > Friedrich Romstedt wrote: >>> I am writing symbolic tensor package for general relativity.  In making >>> symbolic tensors concrete >>> I generate numpy arrays stuffed with sympy functions and symbols. >> >> That sound's interesting. Now, after I read the Wikipedia ar

Re: [Numpy-discussion] Error while upgrading to numpy 1.4.1

2010-06-14 Thread Vishal Rana
Thanks, it worked. On Mon, Jun 14, 2010 at 7:39 AM, Benjamin Root wrote: > > > On Mon, Jun 14, 2010 at 1:09 AM, David Cournapeau wrote: > >> On Mon, Jun 14, 2010 at 3:00 PM, Vishal Rana >> wrote: >> > Hi, >> > I am getting this error while upgrading to numpy 1.4.1 from 1.3 on >> ubuntu >> > 10.

Re: [Numpy-discussion] Error while upgrading to numpy 1.4.1

2010-06-14 Thread Benjamin Root
On Mon, Jun 14, 2010 at 1:09 AM, David Cournapeau wrote: > On Mon, Jun 14, 2010 at 3:00 PM, Vishal Rana wrote: > > Hi, > > I am getting this error while upgrading to numpy 1.4.1 from 1.3 on ubuntu > > 10.04 using easy_install -U numpy command, I even tried downloading / > > installing numpy 1.4.1

Re: [Numpy-discussion] Tensor contraction

2010-06-14 Thread Alan Bromborsky
Sebastian Walter wrote: > On Sun, Jun 13, 2010 at 8:11 PM, Alan Bromborsky wrote: > >> Friedrich Romstedt wrote: >> >>> 2010/6/13 Pauli Virtanen : >>> >>> def tensor_contraction_single(tensor, dimensions): """Perform a single tensor contraction over the dimensions given

Re: [Numpy-discussion] Tensor contraction

2010-06-14 Thread Sebastian Walter
On Sun, Jun 13, 2010 at 8:11 PM, Alan Bromborsky wrote: > Friedrich Romstedt wrote: >> 2010/6/13 Pauli Virtanen : >> >>> def tensor_contraction_single(tensor, dimensions): >>>    """Perform a single tensor contraction over the dimensions given""" >>>    swap = [x for x in range(tensor.ndim) >>>