3 from numpy
import dtype, zeros, linspace, pi, cos, sin, arctan, arctan2, sqrt, meshgrid, array
4 from pylab
import imshow, plot, figure, subplot, title
6 from scipy.interpolate
import griddata
7 from collections
import OrderedDict
11 for statesFile
in glob(
"/home/svenni/Dropbox/studies/master/code/hartree-fock/build-hartree-fock-Desktop_Qt_5_2_0_with_GDB-Release/tools/staterunner/results.h5.*"):
13 f = h5py.File(statesFile,
"r")
14 atomsMeta = f.attrs["atomMetaInformation"]
17 atoms = f.get(stateName)
18 r12 = atoms[1][
"x"] - atoms[0][
"x"]
19 plots.append([r12, atoms.attrs[
"energy"]])
25 plot(plots[:,0], plots[:,1],
'o')