QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: perfetti on July 19, 2012, 22:12
-
Dear Everyone,
I have a very simple question: I want to plot the bandstructure via graphical software like Origin, however, when I export all the data , and import them into origin, I found out that I cannot adjust the range. I got all the bands in [-20,20], however, if I want only the bands in [-2,2], I could do this by deleting a bunch of data, but unfortunately usually one would miss some lines. So this wouldn't be practical.
I am hoping anyone could give me an advice on how to replot the bandstructure in a small range ?
Thank you! Best regards.
-
I would something else :)
If you are only looking for a couple of bands near the fermi level as you appear to being doing your case, then I would rather select a number of bands above and fermi level.
So if you do something like
data = bs.evaluate()[:,10:20]
You would get a the bands 10 to 20 as numpy array.
Alternative you can also use pylab which is shipped along. I used this for all my graphs.
If you want, I can throw together a small examples in 5 minutes.
-
Dear Dr. Nordland,
That sounds very cool, but I didn't get you with "data = bs.evaluate()[:,10:20]" , should I input that in the scipt in ATK? I tried but I got an error.
Could you illustrate your idea with a short example , as you just mentioned? Thanks.
-
Apart from the solution by Nordland, I'm sure Origin does have possibility to adjust the axis range (searching for "origin adjust axis range" on Google confirms this). Perhaps you just need to find this feature, and it will be easier than manipulating the ATK data.
-
Also you can zoom in the VNL plot window to be in the range -2 to 2, if that is good enough.
-
I tried both suggestions , but not good enough.
Can you explain this method in more detail?
It seems very cool and can satisfy the need.
Thanks for your time .
I would something else :)
If you are only looking for a couple of bands near the fermi level as you appear to being doing your case, then I would rather select a number of bands above and fermi level.
So if you do something like
data = bs.evaluate()[:,10:20]
You would get a the bands 10 to 20 as numpy array.
Alternative you can also use pylab which is shipped along. I used this for all my graphs.
If you want, I can throw together a small examples in 5 minutes.
-
This is a little script that I use for making my bandstructures with, if I am not using VNL.
-
May I ask how to open the bandstructure data by Origin, or excel? It seems that the file has no suffix if directly choosing "export data".
-
Just enter the suffix you want - it is just raw text.
-
Hello,
I want to plot the bandstructure of graphene in K-Space only. How to plot the bandstructure for E-Kx ? Please Help
-
Since the two lattice vectors A and B in ATK are symmetric around the X axis, the K point lies on the X axis. Thus, you simply need to plot the band structure along G-K.