def load_data():
"""Draw the Mott lobes."""
res = np.load(r'data_%d.npy' % GRID_SIZE)
x = res[:, 0]
y = res[:, 1]
z = []
for i, entry in enumerate(res):
z.append(kinetic_energy(entry[2:], -1.))
plt.pcolor(
np.reshape(x, (GRID_SIZE, GRID_SIZE)),
np.reshape(y, (GRID_SIZE, GRID_SIZE)),
np.reshape(z, (GRID_SIZE, GRID_SIZE))
)
plt.xlabel('$dt/U$')
plt.ylabel('$\mu/U$')
plt.show()
评论列表
文章目录