np.savetxt('test.txt', DAT, delimiter=" ", fmt="%s")
numpy.savetxt(fname, X, fmt='%.18e', delimiter=' ', newline=' ', header='', footer='', comments='# ', encoding=None)