Thank u.....
/ But the 'graphene.py' does not have any band struct. analysis..... So, I was getting an error.....
Traceback (most recent call last):
File "/home/dipankar/Desktop/cb_plot.py", line 7, in <module>
bs = nlread('graphene.nc', Bandstructure)[-1]
IndexError: list index out of range
Traceback (most recent call last):
File "/home/dipankar/Desktop/cb_plot.py", line 7, in <module>
bs = nlread('graphene.nc', Bandstructure)[-1]
_____________________
Next, I include the following lines in 'graphene.py' .....
bandstructure = Bandstructure(
configuration=bulk_configuration,
route=['G', 'M', 'K', 'G'],
points_per_segment=201,
bands_above_fermi_level=All
)
nlsave('graphene.nc', bandstructure)
Then the warning message, while running 'cb_plot.py', shows____
/usr/local/QuantumWise_14_2/VNL-ATK-2014.2/lib/python2.7/site-packages/matplotlib/delaunay/triangulate.py:103: DuplicatePointWarning: Input data contains duplicate x,y points; some values are ignored.
/usr/local/QuantumWise_14_2/VNL-ATK-2014.2/lib/python2.7/site-packages/matplotlib/delaunay/triangulate.py:103: DuplicatePointWarning: Input data contains duplicate x,y points; some values are ignored.
/usr/local/QuantumWise_14_2/VNL-ATK-2014.2/lib/python2.7/site-packages/matplotlib/delaunay/triangulate.py:103: DuplicatePointWarning: Input data contains duplicate x,y points; some values are ignored.
__________
Hence___
the file 'cb_plot.py' is not generating the 2D hex. surface BZ !!!