Author Topic: text representation/ LDOS  (Read 3164 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipankar Saha

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 516
  • Country: in
  • Reputation: 5
    • View Profile
text representation/ LDOS
« on: June 16, 2016, 13:17 »
Hello,
Is there any way to extract data corresponding to the LDOS diagram (Just like a text representation, which will provide not only the energy-&-position axes data, but also the exact DDOS values ) ??

Best _
Dipankar

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: text representation/ LDOS
« Reply #1 on: June 20, 2016, 09:25 »
I am not sure if you mean the LDOS or projected LDOS (PLDOS), but for the PLDOS you can get the data like this:

pldos = nlread('ncfile', ProjectedLocalDensityOfStates)[0]
dos = pldos.evaluate()
energies = pldos.energies()
z = pldos.zSlicing()

"z" would be the x-axis for plotting, "energies" would be the y-axis, and the dos data would be in the array "dos".

Offline Dipankar Saha

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 516
  • Country: in
  • Reputation: 5
    • View Profile
Re: text representation/ LDOS
« Reply #2 on: June 20, 2016, 12:08 »
Yes, I meant projected LDOS / Thank you Jess...!! :)