Author Topic: How to export data without GUI?  (Read 5247 times)

0 Members and 1 Guest are viewing this topic.

Offline hydro

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: 00
  • Reputation: 0
    • View Profile
How to export data without GUI?
« on: March 29, 2015, 04:40 »
Hi,if i get a "**.nc" file ,and i want to get the date of bandstructure, how can i export txt file without GUI, just in python ?
Thank you!

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: How to export data without GUI?
« Reply #1 on: March 29, 2015, 12:53 »
The easiest option is to use "nlprint". If you want to format the data differently, you can query the Bandstructure object for the energies, route, and kpoints (see the reference manual for details) and print them yourself.

Offline hydro

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: 00
  • Reputation: 0
    • View Profile
Re: How to export data without GUI?
« Reply #2 on: March 30, 2015, 04:27 »
OK,Thank you!