[Numpy-discussion] Re: Enhancement: np.convolve(..., mode="normalized")

2023-11-23 Thread Friedrich Romstedt
Hi Filip, Am Mi., 22. Nov. 2023 um 14:24 Uhr schrieb : > > Convolution is often used for smoothing noisy data; a typical use will keep > the 'same' length of data and may look like this: > > >convol = 2**-np.linspace(-2,2,100)**2; > >y2 = np.convolve(y,convol/np.sum(convol), mode='same')

[Numpy-discussion] Re: Enhancement: np.convolve(..., mode="normalized")

2023-11-22 Thread Ronald van Elburg
I wonder whether you are looking for the solution in the right direction. Is there theory for the shape of the curve? In that case it might be better to see the problem as a fitting problem. Other than that I think option 2 is too ad hoc for scientific work. I would opt for simply not showing t