Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-27 Thread Zimmermann Klaus
Hi Ralf, On 26/11/2020 15:17, Ralf Gommers wrote: > On Fri, Nov 6, 2020 at 4:03 PM Zimmermann Klaus > mailto:klaus.zimmerm...@smhi.se>> wrote: > I was just wondering if, of the top your head, an existing, better fit > comes to mind? > > > Not really. Outsi

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-06 Thread Zimmermann Klaus
Hi, On 06/11/2020 15:58, Ralf Gommers wrote: > On Fri, Nov 6, 2020 at 9:51 AM Zimmermann Klaus > mailto:klaus.zimmerm...@smhi.se>> wrote: > I have absolutely no problem keeping this out of the main namespace. > > In fact I'd like to point out that it was n

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-06 Thread Zimmermann Klaus
ave both very strong >> reservations, and I would like to understand them better. >> >> The behaviour can be surprising, but that is why the default is a >> read- >> only view. I do not think it is worse than `np.broadcast_to` in this >> regard. (It is nowhere n

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-10-13 Thread Zimmermann Klaus
;> On 13 Oct 2020, at 2:25 am, Sebastian Berg > <mailto:sebast...@sipsolutions.net>> wrote: >> >> On Mon, 2020-10-12 at 08:39 +, Zimmermann Klaus wrote: >>> Hello, >>> >>> I would like to draw the attention of this list to PR #17394

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-10-13 Thread Zimmermann Klaus
should go, I have no problem with it. Cheers Klaus On 12/10/2020 17:25, Sebastian Berg wrote: > On Mon, 2020-10-12 at 08:39 +0000, Zimmermann Klaus wrote: >> Hello, >> >> I would like to draw the attention of this list to PR #17394 [1] that >> adds the implementation

[Numpy-discussion] Add sliding_window_view method to numpy

2020-10-12 Thread Zimmermann Klaus
Hello, I would like to draw the attention of this list to PR #17394 [1] that adds the implementation of a sliding window view to numpy. Having a sliding window view in numpy is a longstanding open issue (cf #7753 [2] from 2016). A brief summary of the discussions surrounding it can be found in th