Hi all
I know there exists a function for Fourier transforming 2D : fft2
But I'm trying to understand how this function works. As far as I know,
first a column based transform is done and then a row based transform.
This is what I've created for a test:
*test = np.array([[1+0j,2+0j], [3+0j,
I've read in a datafile to an ndarray with this command:
data=np.genfromtxt('n.txt', delimiter='\t', dtype=[('paramname','S26'),
('study','S26'), ('class','S10'), ('count','f4'), ('average','f4'),
('sd','f4'))
I would like to filter the array to only rows where paramname == 'bmi'. What
would
Tue, 24 May 2011 11:41:28 +0200, Jan Wuyts wrote:
bmidata=np.asarray([x for x in data if x['paramname']=='bmi'],
dtype=data.dtype)
Use indexing:
bmidata = data[data['paramname'] == 'bmi']
___
NumPy-Discussion mailing list
Hi all,
I have made my free solver interalg (http://openopt.org/interalg) be
capable of solving nonlinear equations and systems of them. Unlike
scipy optimize fsolve it doesn't matter which functions are involved -
convex, nonconvex, multiextremum etc. Even some discontinuous funcs
Hi Chris
On Tue, May 24, 2011 at 9:29 AM, Goo Creations goocreati...@gmail.com wrote:
At this point I'm stuck, since I'm not sure how to do the row based
transform on ownRes.
Is there anyone out there who knows how to do this?
NumPy's FFT supports an axis argument, so you can do
In [29]: own
Thank you very much Stéfan!!
2011/5/24 Stéfan van der Walt ste...@sun.ac.za
Hi Chris
On Tue, May 24, 2011 at 9:29 AM, Goo Creations goocreati...@gmail.com
wrote:
At this point I'm stuck, since I'm not sure how to do the row based
transform on ownRes.
Is there anyone out there who
Hi all,
I've read some discussions about adding labeled axes, and even ticks, to numpy
arrays (such as in Luis' dataarray).
I have recently found that the ability to label axes would be very helpful to
me, but I'd like to keep the implementation as lightweight as possible.
The reason I
I get the following runtime error when I import numpy: module compiled
against ABI version 200 but this version of numpy is 109 (see
below).
Python 2.7.1 (r271:86832, May 20 2011, 14:41:42)
[GCC 4.4.0 20090514 (Red Hat 4.4.0-6)] on linux2
Type help, copyright, credits or license for more
Try removing numpy and openCV (and associated files) from
/usr/local/lib/python2.7/dist-packages or wherever you originally
compiled it too. Then rebuild numpy and openCV. Probably openCV was
compiled with a different version of numpy at the time of compilation.
Just a guess but removing and