Author Topic: Plotting Bandstructure in a certain range  (Read 7401 times)

0 Members and 1 Guest are viewing this topic.

Offline perfetti

  • QuantumATK Guru
  • ****
  • Posts: 103
  • Country: us
  • Reputation: 2
    • View Profile
Plotting Bandstructure in a certain range
« 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.


Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #1 on: July 19, 2012, 22:25 »
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.

Offline perfetti

  • QuantumATK Guru
  • ****
  • Posts: 103
  • Country: us
  • Reputation: 2
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #2 on: July 19, 2012, 23:25 »
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.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Plotting Bandstructure in a certain range
« Reply #3 on: July 20, 2012, 10:05 »
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.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #4 on: July 20, 2012, 10:13 »
Also you can zoom in the VNL plot window to be in the range -2 to 2, if that is good enough.

Offline perfetti

  • QuantumATK Guru
  • ****
  • Posts: 103
  • Country: us
  • Reputation: 2
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #5 on: July 20, 2012, 15:33 »
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.

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #6 on: July 20, 2012, 16:30 »
This is a little script that I use for making my bandstructures with, if I am not using VNL.

Offline donmbringer

  • Heavy QuantumATK user
  • ***
  • Posts: 40
  • Country: ca
  • Reputation: 0
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #7 on: August 9, 2012, 11:41 »
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".

Offline Nordland

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 812
  • Reputation: 18
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #8 on: August 10, 2012, 10:08 »
Just enter the suffix you want - it is just raw text.

Offline Roy

  • Regular QuantumATK user
  • **
  • Posts: 10
  • Country: in
  • Reputation: 0
    • View Profile
Re: Plotting Bandstructure in a certain range
« Reply #9 on: February 25, 2013, 07:03 »
Hello,
 I want to plot the bandstructure of graphene in K-Space only. How to plot the bandstructure for E-Kx ? Please Help

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Plotting Bandstructure in a certain range
« Reply #10 on: February 25, 2013, 08:44 »
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.