aiida_alc_ins.workflows.dos =========================== .. py:module:: aiida_alc_ins.workflows.dos .. autoapi-nested-parse:: A WorkChain computing a phonon density of states. After :class:`~aiida_alc_ins.workflows.force_constants.ForceConstantsWorkChain` resolves the force constants (read in-process from a CASTEP file by the ``read_castep_force_constants`` calcfunction, or taken from a supplied node) as a sub-workflow, a single PythonJob samples a Monkhorst-Pack grid and computes the DOS; the euphonic ``Spectrum1D`` is serialized to a native ``XyData`` for easy plotting. The file-staging PythonJob pattern that the read used to demonstrate is retained by :func:`aiida_alc_ins.pythonjobs.prepare_read_force_constants_inputs`, exercised by ``tests/test_remote_ssh.py``.