Giter Club home page Giter Club logo

unitcell's Introduction

UnitCell

Python class, functions, and scripts to create, store, and manipulate crystallographic unit cell data.

The UnitCell class in unitcell.py does all of the heavy lifting. Other scripts in the package use the UnitCell class to convert unit cell files from one format to another or perform specific tasks on a unit cell.

File-Format Conversions

  • atat_to_vasp : Converts ATAT formatted file to VASP 4 format.
  • gulp_output_to_vasp : Converts GULP formatted output file to VASP 4 format.
  • gulp_to_gulp : Converts GULP output format to GULP input format.
  • vasp_to_findsym : Converts VASP format (4 or 5) to findsym format.
  • vasp_to_gulp : Converts VASP format (4 or 5) to GULP input format.
  • vasp_to_lammps : Converts VASP format (4 or 5) to LAMMPS input format.
    This conversion requires the unitcell to be orthogonal and the unit cell parameter matrix to be diagonal.

Unit Cell Manipulations

This package can be used to calculate quantitites related to a unit cell and manipulate parameters of a unit cell:

  • Calculate the center of mass of atoms in the cell
  • Displace all atoms in the unit cell by specified amounts
  • Calculate reciprocal-space lattice vectors of the cell
  • Calculate k-point mesh corresponding to a desired KPPRA (with several caveats, see kmesh.py for details).
  • Calculate the electrostatic potential alignment between two point defect calculations or a point defect calculation and the perfect crystal calculation. This electrostatic potential alignment was used in Doak, Michel, & Wolverton, J. Mater. Chem. C 3, 10630โ€“10649 (2015).
  • Calculate the space group of a crystal. Space group calculations require the findsym software, part of the isotropy software suite.

unitcell's People

Contributors

jeffwdoak 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.