Is it possible to use numpy.split to split a numpy.ndarray with overlapping pieces.
Example:
Given a numpy.ndarray of shape (3,3) and I want to split it into ndarray, of shape (1,1) which by
numpy.split((3,3),(1,1)) = [(1,1),(1,1),(1,1)]
But what if i wanted numpy.ndarrays of shape (3,2) , would it be able to generate a list with length 2 with overlapping numpy.ndarrays?
as such:
np.arange(9).reshape((3, 3))? (also: why do you want this?) My first thought would benp.lib.index_tricks.as_strided