Re: [Numpy-discussion] @Dag re numpy.pxd

2012-02-14 Thread Gordon L. Kindlmann
ython libraries. Is this capability going to be removed? Gordon > Message: 6 > Date: Sat, 11 Feb 2012 13:31:51 -0700 > From: Charles R Harris > Subject: [Numpy-discussion] @Dag re numpy.pxd > To: numpy-discussion > Message-ID: > > Content-Type: text/plain; cha

Re: [Numpy-discussion] what is the best way to do a statistical mode operation?

2010-10-03 Thread Gordon Wrigley
> How many point do you have in np.unique(array) ? 43 currently On Sun, Oct 3, 2010 at 11:55 PM, wrote: > On Sun, Oct 3, 2010 at 8:41 AM, Gordon Wrigley wrote: > > I have an array of uint8's that has a shape of X*Y*Z*8, I would like to > > calculate modes along the

[Numpy-discussion] what is the best way to do a statistical mode operation?

2010-10-03 Thread Gordon Wrigley
I have an array of uint8's that has a shape of X*Y*Z*8, I would like to calculate modes along the 8 axis so that I end up with an array that has the shape X*Y*Z and is full of modes. I'm having problems finding a good way of doing this. My attempts at solving this using bincount or histogram produc

Re: [Numpy-discussion] looking for code advice

2010-09-29 Thread Gordon Wrigley
XED for the heterogeneous decimated_array = reshaped_array[:,:,:,0] data_out = numpy.where(not_equal_array, MIXED, decimated_array) return data_out Regards Gordon On Thu, Sep 30, 2010 at 2:36 AM, wrote: > On Wed, Sep 29, 2010 at 9:19 AM, wrote: > > On Wed, Sep 29, 2010 at 8:2

[Numpy-discussion] looking for code advice

2010-09-29 Thread Gordon Wrigley
d a voxel octtree for a 3d graphics application. The final setup will be more complicated, this is the minimum that will let me get up and running. Regards Gordon P.S. congrats on numpy, it is a very impressive tool, I've only scraped the surface and it&#

Re: [Numpy-discussion] linalg.eigh() newbie doubt

2008-04-01 Thread gordon
> Yes : evectors[:3] selects the first three lines, evectors[:,3] selects the > fourth column. > arggg!! my mistake! sorry Lorenzo thanks Matthieu gordon ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.or

Re: [Numpy-discussion] linalg.eigh() newbie doubt

2008-04-01 Thread gordon
1.7 i believe the corresponding eigenvector should be the 4th column in evectors? [6. 7. 5. 4. 4. 4.] but the notation evectors[:3] will give me an ndarray of shape(3,6) Am i missing something here? thanks gordon ___ Numpy-discussion mailing list Nu

[Numpy-discussion] confusion in eigenlib code

2008-04-01 Thread gordon
ectors.Is not the correct way to take a column of evectors as an eigenvector? If someone can make this clear please do thanks gordon ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] code using Numeric and LinearAlgebra

2008-03-31 Thread gordon
i came across some code that uses calls like LinearAlgebra.eigenvectors(L) and Numeric.matrixmultiply(v, x) which gives compilation errors on my new numpy installation.Is it possible to get such code compiled while using new version of numpy? when evalues, evectors = LinearAlgebra.eigenvectors(L)

[Numpy-discussion] linalg.eigh() newbie doubt

2008-03-31 Thread gordon
clear this confusion thanks gordon ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion