Author Topic: How to write a script to extract one physical properties from a big vnl file.  (Read 3373 times)

0 Members and 1 Guest are viewing this topic.

Offline fangyongxinxi

  • QuantumATK Guru
  • ****
  • Posts: 143
  • Reputation: 0
    • View Profile
Dear Sir
I am a new beginner in Python and have some problems
what I want to do is to  get a script to extract data from vnl file which contain many physical properties.
For example, I have a lih2li.vnl file with 1.density of states, 2.electron denstiy, 3.Total energy, 4.transmission spectrum, which were calculated together. How to write a script to get the lih2li.(density of states) ?
The forum talked about how to extract the density of states from a vnl file, when the density of states is calculated only, I can do that too, but I don't know how to get it when many properties were calculated together.

I don't know how to write a script to extract one physical properties from a big vnl file.

Thank you.


Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
The vnl file format for ATK 2008.10 and earlier is unsupported, and has never been intended to be something users can extract things from themselves. All this has been greatly improved in the newer version 10.8 which uses a much more transparent way to store - and extract - data.

For the old version, the fastest and simplest way to get the data out for plotting in other programs is probably to recalculate it, and make sure to "nlprint" it to the log file.

I strongly recommend you to upgrade to 10.8 for which we can offer proper support.