generate_frequencies_eigenvectors

atomate2.common.jobs.pheasy.generate_frequencies_eigenvectors(structure, supercell_matrix, displacement, cal_anhar_fcs, fcs_cutoff_radius, sym_reduce, symprec, use_symmetrized_structure, kpath_scheme, code, displacement_data, total_dft_energy, epsilon_static=None, born=None, num_displaced_supercells=0, anhar_max_order=3, anhar_fit_methods=('cocktail',), anhar_alpha_min=-12, random_seed=103, **kwargs)[source]

Fit the force constants with pheasy and summarize the phonon results.

The harmonic force constants give the band structure, density of states and thermodynamic properties in the output document. With cal_anhar_fcs, the anharmonic force constants are also fitted and written to files in the job folder. They are not stored in the output document.

Parameters:
  • structure (Structure object) – Fully optimized structure used for phonon runs

  • supercell_matrix (np.array) – array to describe supercell

  • displacement (float) – displacement in Angstrom used for supercell computation

  • cal_anhar_fcs (bool) – if True, the anharmonic force constants are fitted as well

  • fcs_cutoff_radius (list[float]) – cutoff radius in Bohr for each force constant order, from second order

  • sym_reduce (bool) – if True, symmetry will be used in phonopy

  • symprec (float) – precision to determine symmetry

  • use_symmetrized_structure (str) – primitive, conventional, None are allowed

  • kpath_scheme (str) – kpath scheme for phonon band structure computation

  • code (str) – code to run computations

  • displacement_data (dict) – outputs from displacements

  • total_dft_energy (float) – total DFT energy in eV per cell

  • epsilon_static (Matrix3D) – The high-frequency dielectric constant

  • born (Matrix3D) – Born charges

  • num_displaced_supercells (int) – number of harmonic random displacements requested by the user, 0 for automatic. Must match the value used to generate them.

  • anhar_max_order (int) – highest anharmonic force constant order, 3 or 4

  • anhar_fit_methods (Sequence[str]) – “cocktail” (fixed second-order FCs), “one-shot” (all orders fitted together, written to the one_shot folder), or both

  • anhar_alpha_min (int) – base-10 exponent of the smallest LASSO penalty in the anharmonic fits

  • random_seed (int | None = 103) – Seed for the harmonic and anharmonic LASSO fits, so that they are reproducible.

  • kwargs (dict) – Further options read by this job, such as npoints_band, filename_bs, filename_dos, kpoint_density_dos, store_force_constants, max_relative_error_ratio, and max_force_rmse.

Return type:

PhononBSDOSDoc