GithubHelp home page GithubHelp logo

majabed / readgv Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 10.25 MB

Python Script to read, edit, modify and visualize VASP output!

License: MIT License

Python 96.94% DIGITAL Command Language 3.06%

readgv's Introduction

ReadGV

Python Script to read, edit, modify and visualize and file conversion for VASP and Gaussian input and output!

This is actively developing version. Current version is very first trial.

Installation

  • pip install -e git+git://github.com/MAJabed/ReadGV.git
  • With pip pip install readgv

Running ReadGV

python -m readgv [-job] [vasp2gaus/gaus2poscar/read_bands**] [--file input file] [--fout output file] [--ftype xyz/gaus (gaussian input file)] [--select boolean] [--direct boolean]  
  • -job option to select task to execute, currently available task

    • vasp2gaus or vasp2com : Convert poscar or Contcar file to xyz or gaussian input file format
    • gaus2poscar or gaus2vasp : Convert gaussian input file to VASP POSCAR file format. Periodic cell (Tv) should be given in the .com file.
    • read_bands : Read selected or all bands from OUTCAR and write in a file, print or plot (follow --plot)
    • get_geom : Write or print molecular dynamic trajectory from the OUTCAR files
    • abs_gaus : Read Gaussian TDDFT output file, Dress excited energies using Gaussian fucntion to plot absorption spectra
  • --file : The input file name

  • --fout : The output file name

  • --ftype : Output file format, xyz or gaus (gaussian input file)

  • --select : Boolean, select coordinates in POSCAR file

  • --direct : Boolean, direct or cartesian coordinates in POSCAR file format

  • --bands : No of bands to read, default 100

  • --frames : MD frames to read, last frame final, initial frame initial, all all, last n frames -n, first n frame n

  • --nthkpoint : integar, read outcar data of nth Kpoints

  • --coord : output coordinates in Cartesian cart or fractional frac

  • --plot : Plot output of -job, special arguments: dos_all to plot DOS of all frames in waterfall graphs (This function may not produce the best figure in come cases)

  • --shiftfermi : Band energies shift by Fermi energy

  • --xlim : X-axis limit, input type: list - lower upper

  • --sigma : float, linewidth for Gaussian dressing, default 0.1 eV

  • --theta : Rotation of X-axis for 3D view of waterfall graph, degree unit.

  • --gamma : Rotation of Z axis for 3D view of waterfall graph, degree unit.

  • --alpha : Adjust the transparency of a matplotlib graph plot[0-1]

  • --unit : Unit of a calculation, eg. eV or nm in absorption spectra calculations

  • --figsize: Matplotlib graph figure size, default (7,5)


Disclaimer:

It is an incomplete package, still under development.


License:

ReadGV is freely available under an MIT License

readgv's People

Contributors

majabed avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.