euphonic-dispersion¶
The euphonic-dispersion
program can be used to plot dispersion
either along a specific trajectory from precalculated phonon frequencies,
or along a recommended reciprocal space path from force constants. For
example, to plot from a Euphonic .json
file containing
QpointPhononModes
, with frequencies reordered to follow equivalent modes
across Q, run:
euphonic-dispersion --reorder si_qpoint_phonon_modes.json
Or, to plot along a recommended q-point path from Phonopy force constants with an acoustic sum rule, run:
euphonic-dispersion --asr reciprocal phonopy.yaml
To see all the command line options, run:
euphonic-dispersion -h
You can also see the available command line options below
Command Line Options¶
Plots a band structure from the file provided. If a force constants file is provided, a band structure path is generated using Seekpath
usage: euphonic-dispersion [-h] [--asr [{reciprocal,realspace}]]
[--dipole-parameter DIPOLE_PARAMETER]
[--use-c | --disable-c] [--n-threads N_THREADS]
[-s SAVE_TO] [--title TITLE] [--x-label X_LABEL]
[--y-label Y_LABEL] [--e-min E_MIN] [--e-max E_MAX]
[--energy-unit ENERGY_UNIT]
[--length-unit LENGTH_UNIT] [--q-spacing Q_SPACING]
[--btol BTOL] [--reorder]
filename
File I/O arguments¶
- filename
Phonon data file. This should contain force constants or phonon mode data. Force constants formats: .yaml, force_constants.hdf5 (Phonopy); .castep_bin , .check (Castep); .json (Euphonic). Phonon mode data formats: {band,qpoints,mesh}.{hdf5,yaml} (Phonopy); .phonon (Castep); .json (Euphonic)
q-point sampling arguments¶
- --length-unit
Length units; these will be inverted to obtain units of distance between q-points (e.g. “bohr” for bohr^-1).
Default: “angstrom”
- --q-spacing
Target distance between q-point samples in 1/LENGTH_UNIT
Default: 0.025
- --btol
Distance threshold used for automatically splitting discontinuous segments of reciprocal space onto separate subplots. This is specified as a multiple of the median distance between q-points.
Default: 10.0
energy/frequency arguments¶
- --e-min
Energy range minimum in ENERGY_UNIT
- --e-max
Energy range maximum in ENERGY_UNIT
- --energy-unit, -u
Energy units
Default: “meV”
Force constants interpolation arguments¶
- --asr
Possible choices: reciprocal, realspace
Apply an acoustic-sum-rule (ASR) correction to the data: “realspace” applies the correction to the force constant matrix in real space. “reciprocal” applies the correction to the dynamical matrix at each q-point.
- --dipole-parameter
Set the cutoff in real/reciprocal space for the dipole Ewald sum; higher values use more reciprocal terms. If tuned correctly this can result in performance improvements. See euphonic-optimise-dipole-parameter program for help on choosing a good DIPOLE_PARAMETER.
Default: 1.0
Plotting arguments¶
- -s, --save-to
Save resulting plot to a file with this name
- --title
Plot title
Default: “”
- --x-label
Plot x-axis label
- --y-label
Plot y-axis label
Band arguments¶
Options related to plotting 1D bands (“spaghetti plots”).
- --reorder
Try to determine branch crossings from eigenvectors and rearrange frequencies accordingly
Default: False