You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kx = np.concatenate((np.linspace(0,int(nx/2)-1,int(nx/2)),np.linspace(int(-nx/2),-1,int(nx/2))), axis=None) cannot process inputs with an odd shape. Maybe try this kx = np.linspace(int(math.ceil(-nx/2)),int(math.ceil(-nx/2)), int(nx))?