Skip to main content

dynaphopy module

Project description

PyPI version Build Status Coverage Status DOI

DynaPhoPy

Software to calculate crystal microscopic anharmonic properties from molecular dynamics (MD) using the normal-mode-decomposition technique. These properties include the phonon frequency shifts and linewidths, as well as the renormalized force constanst and thermal properties by using quasiparticle theory. This code includes interfaces for MD outputs from VASP and LAMMPS. PHONOPY code is used to obtain harmonic phonon modes.

Online manual: http://abelcarreras.github.io/DynaPhoPy/

Installation instructions

  1. Requirements

2a. Install from pypi repository

pip install dynaphopy --user

2b. Install from source (requires c compiler)

  • Install requirements from requirements.txt:
pip install -r requirements.txt --user
  • Run setup.py to install dynaphopy
python setup.py install --user

Executing this software

  1. Command line method
  • execute dynaphopy -h for detailed description of available options
    dynaphopy input_file MD_file [Options]
    
  1. Interactive mode
  • Use -i option from command line method and follow the instructions
    dynaphopy input_file MD_file -i
    
  1. Scripting method (as a module)
  • Dynaphopy can be imported as a python module
  • In examples/api_scripts directory an example script is available (script_silicon.py)
  • The comments in the script makes it (hopefully) self explained.

Input files for several materials can be found in the same example/inputs directory. More information in the online manual at: http://abelcarreras.github.io/DynaPhoPy

Contact info

Abel Carreras
abelcarreras83@gmail.com

Donostia International Physics Center (DIPC)
Donostia-San Sebastian (Spain)

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page