Author Topic: band structure decomposition  (Read 9060 times)

0 Members and 1 Guest are viewing this topic.

Offline atk_user

  • Heavy QuantumATK user
  • ***
  • Posts: 48
  • Country: 00
  • Reputation: 0
    • View Profile
Re: band structure decomposition
« Reply #15 on: November 14, 2014, 14:49 »
Thank you very much. I'll try it.  :D

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: band structure decomposition
« Reply #16 on: June 5, 2015, 09:02 »
The attached script is a very simple way of reading, plotting, and saving the up and down spin channels of a band structure.

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: band structure decomposition
« Reply #17 on: June 8, 2015, 09:14 »
A few things might go wrong in this script.

1)  object_id='gID002' may not be a Bandstructure object (I don't know, because I cannot see how file.nc was written).
2) bs_up and bs_dn are arrays with dimensions (#kpoints , #bands), for example (201, 15). When writing to data files, you need to write all bands. The script I posted previously illustrates this.