QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: Jichao Dong on June 20, 2024, 13:29
-
could anyone can help the python code of nlread to get the pldos information from the pldos.hdf5 file?
Thank you very VERY much!
-
Like any other object, you read it as
pdos = nlread("myfile.,hdf5", ProjectedLocalDensityOfStates)[-1]
where the -1 index ensure you pick the last object of this class added to the file (or use 0 or any other index in case there are several and you want a specific one).