[Numpy-discussion] ndarray typing advise

2022-01-13 Thread Vincent Schut
Hi, I'm having a hard(ish) time adding the right type annotations to some numpy-using code. I hope someone more knowledgeable can give me some advise. Specifically, the following questions pop up: - How do I correctly type a ndarray as being an array of float64, such that mypy can infer that

[Numpy-discussion] np.convolve question

2022-01-13 Thread cae
Hello, I am a mechanical engineer and am using Numpy Convolve to smoothen 1D data collected from physical testing for a diesel engine. (I found convolve the best after comparing with other smoothing methodologies) I tried reading the numpy manual and the wikipedia article referenced in it. But I

[Numpy-discussion] Re: np.convolve question

2022-01-13 Thread Robert Kern
On Thu, Jan 13, 2022 at 10:47 AM wrote: > Hello, > > I am a mechanical engineer and am using Numpy Convolve to smoothen 1D data > collected from physical testing for a diesel engine. (I found convolve the > best after comparing with other smoothing methodologies) > I tried reading the numpy manua

[Numpy-discussion] MacPython travis funds have run out (again)

2022-01-13 Thread Charles R Harris
Hi All, Travis wheel build problems again. There is still a positive balance, but apparently it is insufficiently positive. Which is strange if ARM64 is free. Wheel builds have been failing since last weekend. Matti, could you ask for more credits? I'm thinking we really need to move off travis f

[Numpy-discussion] Re: MacPython travis funds have run out (again)

2022-01-13 Thread Charles R Harris
On Thu, Jan 13, 2022 at 6:04 PM Charles R Harris wrote: > Hi All, > > Travis wheel build problems again. There is still a positive balance, but > apparently it is insufficiently positive. Which is strange if ARM64 is > free. Wheel builds have been failing since last weekend. > > Matti, could you

[Numpy-discussion] Re: np.convolve question

2022-01-13 Thread Pushkar Sheth
I understand. I see that the span variable is undergoing some operation and being used as a window in the stackoverflow article (the function - smooth_data_convolve_my_average). To understand the working - I will have to build some plots to visualise how the function (smooth_data_convolve_my_av