pub fn fftshift1d<A, S>(arr: ArrayBase<S, Ix1>) -> ArrayBase<OwnedRepr<A>, Ix1>where A: Clone, S: Data<Elem = A>,