Statistiques
| Révision :

root / Pi / MPI / PostProcess.py @ 185

Historique | Voir | Annoter | Télécharger (262 octet)

1
import numpy
2
npzfile=numpy.load("Ising2D_MPI_256_16777216.npz")
3
npzfile['arr_0']
4
J=npzfile['arr_0'].transpose()[0]
5
E=npzfile['arr_0'].transpose()[1]
6
M=npzfile['arr_0'].transpose()[2]
7
import matplotlib.pyplot 
8
matplotlib.pyplot.plot(J,E)
9
matplotlib.pyplot.show()