I have a 1D array and I want to rotate it around its centre to generate a symmetric 2D array. How can I do it? For example, I define a 1D window array via scipy and now I wa