Re: [Numpy-discussion] subset of array - statistics

2008-03-16 Thread bevan
David Huard gmail.com> writes: > > > Look at the timeseries package in scikits (only on svn i'm afraid). You'll find exactly what you're looking for. Conversion from daily to monthly or yearly time series is a breeze. Cheers, David > > 2008/3/13, Joris De Ridder ster.kuleuven.be>: > > > I

Re: [Numpy-discussion] Read array from file

2008-03-16 Thread Gael Varoquaux
On Fri, Mar 14, 2008 at 07:42:07PM -0300, Lisandro Dalcin wrote: > If you just want to manage VTK files, the you have to definitely try > pyvtk. http://cens.ioc.ee/projects/pyvtk/ > I have a similar numpy-based but independent implementation, not fully > tested, targeted to only write VTK files fo

[Numpy-discussion] improving code

2008-03-16 Thread [EMAIL PROTECTED]
hello while trying to write a function that processes some numpy arrays and calculate euclidean distance ,i ended up with this code #some samplevalues totalimgs=17 selectedfacespaces=6 imgpixels=18750 (ie for an image of 125X150 ) ... # i am using these arrays to do the calculation facespace #num

Re: [Numpy-discussion] What should be the return type of average?

2008-03-16 Thread Charles R Harris
On Sun, Mar 16, 2008 at 4:11 AM, Sebastian Haase <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 1:08 AM, Charles R Harris > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to fix up the average function. I note that the return dtype is > not > > specified, nor is the precision of the accum

Re: [Numpy-discussion] What should be the return type of average?

2008-03-16 Thread Sebastian Haase
On Sun, Mar 16, 2008 at 1:08 AM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Hi, > > I want to fix up the average function. I note that the return dtype is not > specified, nor is the precision of the accumulator. Both of these can be > specified for the mean method and I wonder what should be th