Author Topic: Documentation for VASPPlugins?  (Read 2093 times)

0 Members and 1 Guest are viewing this topic.

Offline markmick

  • Heavy QuantumATK user
  • ***
  • Posts: 36
  • Country: us
  • Reputation: 0
    • View Profile
Documentation for VASPPlugins?
« on: March 2, 2016, 18:39 »
I attempted to find documentation for the VASPPlugin python commands, but was unable to locate them on the QuantumWise website.  Can someone point me in the right direction?

Thanks,
Mark

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Documentation for VASPPlugins?
« Reply #1 on: March 3, 2016, 11:36 »
There are none. That is, it's not part of the public API. Plugins rarely are, but for most plugins we publish the source code. The VASP one is different (for various reasons), so you can't read the source. You can reverse-engineer it quite a bit tough: you see the filenames in the AddOn directory (like Analysis.pyc). Now you can, in atkpython, do
Code: python
import AddOns.VASPPlugins.Analysis as a
print dir(a)
Then you can pick a function, like createVASPDensityOfStates and do
Code: python
help(a.createVASPDensityOfStates)
Best I can offer, for now