Code Monkey home page Code Monkey logo

rails_vasp's Introduction

Rails App for Displaying VASP DOS Calculations

This Rails Webapp is designed to allow easy viewing of density of state calculations that have been run with VASP an imported into a database.

Please see a demo of this app here:

www.stephenjensen.me/names

In that demo, I disabled adding and editing new calculations and added bootstrap layout, but it is basically the same.

Current features:

• /names/ -> a listing of all calculations which you can click on and see saved DOS

• /names/:id -> Density of state calculations displayed with D3 that you can selectively display the orbitals you want

• Focus and context brushing to zoom into a particular area of the plot you are interested in and set the Y max with a slider to the height you want.

• Added color picking for all orbital types

• You can now see the atoms in the calculation itself using GLmol viewer

Desired features:

• Provide a method on the /names page to select several calculations and corresponding orbitals. Each calculation would have a separate plot and the orbitals would all overlay in that plot. D3 would know how many calculations you wanted to display and confine all plots to the same div in the browser.

• Convert atom numbers into the atom type ex: “64”,“43”,“24” -> S$_{3}$ (In the coords database, if you search for a calculation ID and atom number it will return the atom type so this should be straightforward to add in the future)

• New calculations page for specifying the calculation number, name, and desired orbital clustering which would get entered into the database, and then run the corresponding python script to populate all the data.

Python Parsing Scripts

The scripts will extract density of states data from the output of a VASP Density Functional Theory Calculation and insert them into a local postgresql database. On the server with your density of state calculations, call pull_dos_calculation.py with the calculation number, and the script will go into the folder where Materials Design stores the VASP outputs, and then find the calculation number and pull the DOS data out of the DOSCAR and POSCAR data files and then insert it into the database.

Calculations can then be visualized and edited in the rails webapp.

rails_vasp's People

Contributors

captainchemist avatar

Watchers

 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.