QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: Dipankar Saha on June 16, 2016, 13:17

Title: text representation/ LDOS
Post by: Dipankar Saha 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
Title: Re: text representation/ LDOS
Post by: Jess Wellendorff 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".
Title: Re: text representation/ LDOS
Post by: Dipankar Saha on June 20, 2016, 12:08
Yes, I meant projected LDOS / Thank you Jess...!! :)