code: def fft_transpose_numpy(vec):
      
      N1, N2 = splay(vec)
      return pycbc.types.Array(vec.data.copy().reshape(N2, N1).transpose().reshape(len(vec)).copy())
docs: Perform a numpy transpose from vec into outvec.
      (Alex to provide more details in a write-up.)
  
      Parameters
      -----------
      vec : array
          Input array.
  
      Returns
      --------
      outvec : array
          Transposed output array.