Page 1 of 1

band structure visualization

Posted: Fri Feb 13, 2015 7:04 am
by hammouri
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!

Re: band structure visualization

Posted: Sun Feb 15, 2015 5:27 pm
by hammouri
Any answer!!!

Re: band structure visualization

Posted: Sun Feb 15, 2015 7:20 pm
by jbeuken
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

Re: band structure visualization

Posted: Mon Feb 16, 2015 4:18 am
by hammouri
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!

Re: band structure visualization

Posted: Mon Feb 16, 2015 8:42 pm
by hammouri
what that error means??

Re: band structure visualization

Posted: Fri May 01, 2015 5:44 am
by moones
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