band structure visualization
Moderators: MMNSchmitt, gonze
band structure visualization
Hello,
I'm trying to plot the band structure, I'm following this way :
http://src.gnu-darwin.org/ports/science/abinit/work/abinit 5.2.4/doc/users/AbinitBandStructureMaker_manual.pdf
but I have no idea about abinitbandsructremake.py, so I used the one published here :
http://abinit.sourcearchive.com/documentation/5.3.4.dfsg/AbinitBandStructureMaker_8py-source.html
so once I run it it give me this error:
Traceback (most recent call last):
File "AbinitBandStructureMaker.py", line 16, in <module>
from Numeric import *
ImportError: No module named Numeric
please any comment!
I'm trying to plot the band structure, I'm following this way :
http://src.gnu-darwin.org/ports/science/abinit/work/abinit 5.2.4/doc/users/AbinitBandStructureMaker_manual.pdf
but I have no idea about abinitbandsructremake.py, so I used the one published here :
http://abinit.sourcearchive.com/documentation/5.3.4.dfsg/AbinitBandStructureMaker_8py-source.html
so once I run it it give me this error:
Traceback (most recent call last):
File "AbinitBandStructureMaker.py", line 16, in <module>
from Numeric import *
ImportError: No module named Numeric
please any comment!
Re: band structure visualization
Any answer!!!
Re: band structure visualization
Please, use a more recent abinit version ( 7.10.2 )
Concerning the script AbinitBandStructureMaker.py, you need a Python with version > 2.6 , and the module numpy installed…
jmb
Concerning the script AbinitBandStructureMaker.py, you need a Python with version > 2.6 , and the module numpy installed…
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: band structure visualization
Thank you for helping, but now I have this error:
Traceback (most recent call last):
File "file.py", line 1273, in <module>
maxlist.append(ctrl.Y[i][ctrl.nvalenceband-1])
IndexError: index out of bounds
what do you know about it?
Thank you!
Traceback (most recent call last):
File "file.py", line 1273, in <module>
maxlist.append(ctrl.Y[i][ctrl.nvalenceband-1])
IndexError: index out of bounds
what do you know about it?
Thank you!
Re: band structure visualization
what that error means??
Re: band structure visualization
Your problem will be solved by installing the package:
sudo apt-get install python2.7 python2.7-dev
sudo apt-get install python-numpy python-scipy python-matplotlib
sudo apt-get install python2.7 python2.7-dev
sudo apt-get install python-numpy python-scipy python-matplotlib