On 7/29/07, Lou Pecora <[EMAIL PROTECTED]> wrote:
> I wrote a basic article on C extensions using NumPy
> arrays on the SciPy.org site. See:
> Cookbook/C_Extensions/NumPy at
>
> http://www.scipy.org/Cookbook/C_Extensions/NumPy_arrays?highlight=%28%28%28-%2A%29%28%5Cr%29%3F%5Cn%29%28.%2A%29Cate
I wrote a basic article on C extensions using NumPy
arrays on the SciPy.org site. See:
Cookbook/C_Extensions/NumPy at
http://www.scipy.org/Cookbook/C_Extensions/NumPy_arrays?highlight=%28%28%28-%2A%29%28%5Cr%29%3F%5Cn%29%28.%2A%29CategoryCookbook%5Cb%29
It's very basic, but should get you s
Hi Sebastian,
> Oooh - I see - there is the date: July 24 ...
> [ another email just came in is from 7/18 ...]
> That's quite interesting.
> I have never seen such a delay before
> Was some computer sitting on them being turnted off for 10 days ? ;-)
>
> -Sebastian.
Not knowing that the
On 7/29/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Sebastian Haase wrote:
> > Note also that there was essentially the very same question on this
> > list just a few days ago. At the time, there were many answers and
> > quite a discussion...
>
> The OP is the same in both. We just got a burst o
Sebastian Haase wrote:
> Note also that there was essentially the very same question on this
> list just a few days ago. At the time, there were many answers and
> quite a discussion...
The OP is the same in both. We just got a burst of emails (including the one
that starts this thread) that had
Note also that there was essentially the very same question on this
list just a few days ago. At the time, there were many answers and
quite a discussion...
Hope you can find the list archive at scipy.org.
-Sebastian
On 7/29/07, Matthieu Brucher <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The simplest w
Hi,
The simplest way of doing this is with ctypes :
http://scipy.org/Cookbook/Ctypes
Matthieu
2007/7/24, computer_guy <[EMAIL PROTECTED]>:
>
> Hi Everyone,
>
> I am going to write some external C functions that takes in numpy
> arrays as parameters and return numpy arrays. I have the following
>
Hi,
Did you try ravel() instead ? If a copy is not needed, it returns a 1D view
of the array.
Matthieu
2007/7/18, Tom Goddard <[EMAIL PROTECTED]>:
>
> Does taking a slice of a flatiter always make a copy? That appears to
> be the behaviour in numpy 1.0.3.
> For example a.flat[1:3][0] = 5 does n
Hi,
I think you should look into scipy.ndimage which has minimum_filter and
maximum_filter
Matthieu
2007/7/24, Ludwig M Brinckmann <[EMAIL PROTECTED]>:
>
> Hi there,
>
> I have a large array, lets say 4 * 512, which I need to downsample by
> a factor of 4 in the y direction, by factor 3 in t