@classmethod\n",
" def from_scf_task(cls, scf_task, qpoints, is_ngqpt=False, tolerance=None, with_becs=False,\n",
" ddk_tolerance=None, manager=None):\n",
" """\n",
" Construct a `PhononWork` from a |ScfTask| object.\n",
" The input file for phonons is automatically generated from the input of the ScfTask.\n",
" Each phonon task depends on the WFK file produced by the `scf_task`.\n",
"\n",
" Args:\n",
" scf_task: |ScfTask| object.\n",
" qpoints: q-points in reduced coordinates. Accepts single q-point, list of q-points\n",
" or three integers defining the q-mesh if `is_ngqpt`.\n",
" is_ngqpt: True if `qpoints` should be interpreted as divisions instead of q-points.\n",
" tolerance: dict {"varname": value} with the tolerance to be used in the phonon run.\n",
" None to use AbiPy default.\n",
" with_becs: Activate calculation of Electric field and Born effective charges.\n",
" ddk_tolerance: dict {"varname": value} with the tolerance used in the DDK run if with_becs.\n",
" None to use AbiPy default.\n",
" manager: |TaskManager| object.\n",
" """\n",
"
\n",
"\n",
"\n"
],
"text/plain": [
"