Thank you for your reply,
however, i copy the sentence to myown script
the errors occurs. so please do me a favor what is wrong with the syntax.
+------------------------------------------------------------------------------+
File "./band .py", line 377
"G" : numpy.array((0.0, 0.0, 0.0)),
^
SyntaxError: invalid syntax
the paragraph is following:
def mysym():
return {
"G" : numpy.array((0.0, 0.0, 0.0)),
"K" : numpy.array((2./3., 1./3., 0.0)),
"Y" : numpy.array((0.0, 0.5, 0.0)),
"X" : numpy.array((0.5, 0.0, 0.0)),
"V" : numpy.array((0.5, 0.5, 0.0)),
}
bulk_configuration.bravaisLattice().symmetryPoints = mysym
bandstructure = Bandstructure(
configuration=bulk_configuration,
route=['G','X','K','G' 'V','Y','G'],
points_per_segment=51,
bands_above_fermi_level=30
)
nlsave('band.hdf5', bandstructure)
thanks again