Statistiques
| Révision :

root / Pi / MP / PostProcess.py @ 157

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

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