asr.c2db.phonopy

Summary

This is the documentation for asr.c2db.phonopy-recipe. This recipe is comprised of 2 instructions, namely:

Run this recipe through the CLI interface

$ asr run asr.c2db.phonopy

or as a python module

$ python -m asr.c2db.phonopy

Detailed description

Phonopy phonon band structure.

Steps

asr.c2db.phonopy:calculate

asr.c2db.phonopy.calculate(atoms, d=0.05, fsname='phonons', sc=[0, 0, 0], dist_max=7.0, calculator={'charge': 0, 'convergence': {'forces': 0.0001}, 'kpts': {'density': 6.0, 'gamma': True}, 'mode': {'ecut': 800, 'name': 'pw'}, 'name': 'gpaw', 'occupations': {'name': 'fermi-dirac', 'width': 0.05}, 'symmetry': {'point_group': False}, 'txt': 'phonons.txt', 'xc': 'PBE'}, magstatecalculator={'charge': 0, 'convergence': {'bands': 'CBM+3.0'}, 'kpts': {'density': 12.0, 'gamma': True}, 'mode': {'ecut': 800, 'name': 'pw'}, 'name': 'gpaw', 'nbands': '200%', 'occupations': {'name': 'fermi-dirac', 'width': 0.05}, 'txt': 'gs.txt', 'xc': 'PBE'})[source]

Calculate atomic forces used for phonon spectrum.

Parameters
  • atoms (ase.atoms.Atoms) –

  • d (float) –

  • fsname (str) –

  • sc (List[int]) –

  • dist_max (float) –

  • calculator (dict) –

  • magstatecalculator (dict) –

Return type

asr.core.results.ASRResult

asr.c2db.phonopy

asr.c2db.phonopy.main(atoms, rc=None, d=0.05, fsname='phonons', sc=[0, 0, 0], dist_max=7.0, calculator={'charge': 0, 'convergence': {'forces': 0.0001}, 'kpts': {'density': 6.0, 'gamma': True}, 'mode': {'ecut': 800, 'name': 'pw'}, 'name': 'gpaw', 'occupations': {'name': 'fermi-dirac', 'width': 0.05}, 'symmetry': {'point_group': False}, 'txt': 'phonons.txt', 'xc': 'PBE'}, magstatecalculator={'charge': 0, 'convergence': {'bands': 'CBM+3.0'}, 'kpts': {'density': 12.0, 'gamma': True}, 'mode': {'ecut': 800, 'name': 'pw'}, 'name': 'gpaw', 'nbands': '200%', 'occupations': {'name': 'fermi-dirac', 'width': 0.05}, 'txt': 'gs.txt', 'xc': 'PBE'})[source]
Parameters
  • atoms (ase.atoms.Atoms) –

  • rc (float) –

  • d (float) –

  • fsname (str) –

  • sc (List[int]) –

  • dist_max (float) –

  • calculator (dict) –

  • magstatecalculator (dict) –

Return type

asr.c2db.phonopy.Result

class asr.c2db.phonopy.Result(dynamic_stability_level, path, phi_anv, q_qc, eigs_kl, minhessianeig, u_klav, irr_l, omega_kl)[source]
Parameters
  • dynamic_stability_level (int) –

  • path (ase.dft.kpoints.BandPath) –

  • phi_anv (List[List[List[float]]]) –

  • q_qc (List[Tuple[float, float, float]]) –

  • eigs_kl (List[List[complex]]) –

  • minhessianeig (float) –

  • u_klav (List[List[float]]) –

  • irr_l (List[str]) –

  • omega_kl (List[List[float]]) –

property dynamic_stability_level: int

Phonon dynamic stability (1,2,3)

property eigs_kl: List[List[complex]]

Dynamical matrix eigenvalues.

property irr_l: List[str]

Phonon irreducible representations.

property minhessianeig: float

Minimum eigenvalue of Hessian [eV/Ų]

property omega_kl: List[List[float]]

Phonon frequencies.

property path: ase.dft.kpoints.BandPath

Phonon bandstructure path.

property phi_anv: List[List[List[float]]]

Force constants.

property q_qc: List[Tuple[float, float, float]]

List of momenta consistent with supercell.

property u_klav: List[List[float]]

Phonon modes.