On Sat, Jul 26, 2008 at 8:05 AM, Brian Blais <[EMAIL PROTECTED]> wrote:
> cool. this should definitely be in the Numpy for Matlab users
> page, http://www.scipy.org/NumPy_for_Matlab_Users, right after the line:
> Matlab Numpy Notes
By all means, please put it in, it's a wiki after al
Henrik Ronellenfitsch wrote:
> Hello!
> I'm looking for a 2D hamming window function.
> As far as I can see, numpy only supports 1D windows
> and googling didn't show a simple way of extending it
> in two dimensions.
>
> Thanks for your help,
>
> Henrik
Hi Henrik,
I haven't looked at the "corre
Hi David,
I can comment on unique1d, as I am the culprit. I am cc'ing to
numpy-discussion as this is a numpy function.
Quoting "David M. Kaplan" <[EMAIL PROTECTED]>:
> 2) Is there a simple equivalent of sortrows(a) (i.e., sorting by entire
> rows)? Similarly, is there a simple equivalent of th
Hello!
I'm looking for a 2D hamming window function.
As far as I can see, numpy only supports 1D windows
and googling didn't show a simple way of extending it
in two dimensions.
Thanks for your help,
Henrik
___
Numpy-discussion mailing list
Numpy-discus
Hello all,
Numpy arrays come with several reduce operations: sum(), std(), argmin(),
min(),
The traditional implementation of these suffers from two big problems: It is
slow and it often allocates intermediate memory. I have code that is failing
with OOM (out of memory) exceptions in call
On Jul 26, 2008, at Jul 26:10:12 AM, Alan G Isaac wrote:
This is probably the most asked single question.
Use ``ix_``. Example below.
cool. this should definitely be in the Numpy for Matlab users page,
http://www.scipy.org/NumPy_for_Matlab_Users, right after the line:
Matlab Numpy
This is probably the most asked single question.
Use ``ix_``. Example below.
Cheers,
Alan Isaac
>>> import numpy as np
>>> a=np.floor(np.random.rand(5,5)*10)
>>> ind=[1,3]
>>> a[np.ix_(ind,ind)]+=100
>>> a
array([[ 9.,1.,2.,8.,5.],
[ 2., 102.,7., 109.,0.],
I had a conversation about this issue in the mailing list several months ago:
in short, if the spacings are regular you can do what you want. either:
a[1:4:2,1:4:2] += 100
or:
ind = slice(1,4,2)
a[ind, ind] += 100
Nadav
-הודעה מקורית-
מאת: [EMAIL PROTECTED] בשם Brian Blais
נשלח: ש
Hello,
I wanted to do the following thing that I do in Matlab (on a bigger
problem), setting the values of a part of a matrix with indexing:
>> a=floor(rand(5,5)*10) % make an example matrix to work on
a =
2 4 7 9 8
6 9 2 5 2
6 3 5
Hi Felix
This doesn't look quite right:
# Re-Transform to frequency domain
fftdata = fftpack.fft(ifftdata)
fftdata = fftpack.fftshift(ifftdata) # not the "i"
You probably want fftshift(fft(ifftdata))?
As an aside, you also don't need vectorise, since those functions are
all "vectori
David Cournapeau wrote:
> Hi there,
>
> I would like to call for a volunteer to maintain future releases of
> win32 binaries of numpy and scipy (after 1.2/1.1.1 and after scipy 0.7).
Just to be clear: I will build/maintain the binaries for 1.2, 1.1.1 and
scipy 0.7. I am looking for someone els
Hi there,
I would like to call for a volunteer to maintain future releases of
win32 binaries of numpy and scipy (after 1.2/1.1.1 and after scipy 0.7).
Because I am leading toward the end of my PhD, I will have less time for
numpy and other open source stuff, and windows related things are not
12 matches
Mail list logo