Re: [Numpy-discussion] Even Sphere Volume

2009-07-10 Thread Markus Rosenstihl
Here is a different one, based on the ZCW (Zaremba, Conroy, Wolfsberg) algorithm used for powder spectra to equally distribute points over a sphere surface: This paper gives an nice overview (I think I took the actual algorithm from there): Computer simulations in solid-state NMR. III. Powd

Re: [Numpy-discussion] Import NumPy in Self-defined function script

2009-02-22 Thread Markus Rosenstihl
Am 23.02.2009 um 00:59 schrieb Stéfan van der Walt: > 2009/2/23 Markus Rosenstihl darmstadt.de>: >>> Another script "controller.py" calls this function as: >>> >>> [code]#! /usr/bin/env python >>> # from numpy import * >>^ This is

Re: [Numpy-discussion] Import NumPy in Self-defined function script

2009-02-22 Thread Markus Rosenstihl
Am 23.02.2009 um 00:19 schrieb Tim: > Hi, > I am defining a function in file "trainer.py". It requires a module > called numpy as following: > > > Another script "controller.py" calls this function as: > > [code]#! /usr/bin/env python > # from numpy import * ^ This is a comment, you are no

Re: [Numpy-discussion] linalg.norm missing an 'axis' kwarg?!

2009-02-10 Thread Markus Rosenstihl
Am 20.11.2008 um 11:11 schrieb Hans Meine: > Hi, > > I have a 2D matrix comprising a sequence of vectors, and I want to > compute the > norm of each vector. np.linalg.norm seems to be the best bet, but > it does not > support axis. Wouldn't this be a nice feature? Hi, i usually do somethi

Re: [Numpy-discussion] Help using numPy to create a very large multi dimensional array

2007-04-22 Thread Markus Rosenstihl
Whats wrong with scipy.io.read_array? Am 19.04.2007 um 15:50 schrieb Lisandro Dalcin: On 4/19/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: Nick Fotopoulos wrote: Devs, is there any possibility of moving/copying pylab.load to numpy? I don't see anything in the source that requires the rest o

Re: [Numpy-discussion] Fastest distance matrix calc

2007-04-17 Thread Markus Rosenstihl
Or f = sqrt(dot(x,x)) Am 17.04.2007 um 16:12 schrieb Sturla Molden: f = lambda x : sqrt(sum(x**2)) PGP.sig Description: Signierter Teil der Nachricht ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/li