Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Oct 22, 2024
1 parent 5f66652 commit b29947c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/python-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Python API
sampling
utils
Interpolation with Brille <brille-interpolator>
writers
15 changes: 15 additions & 0 deletions doc/source/writers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _writers:

===========================
Writing to external formats
===========================

Phonon website visualisation
----------------------------

The `phonon visualisation website <https://henriquemiranda.github.io/phononwebsite/phonon.html>`_ is a useful tool for the interpretation of phonon band structures with related eigenvectors.
A :class:`QpointPhononModes <euphonic.qpoint_phonon_modes.QpointPhononModes>` object can be combined with a corresponding set of :math:`\mathbf{q}`-point labels to write an appropriate JSON file, which is importable as a "custom file".

.. autofunction:: euphonic.writers.phonon_website.write_phonon_website_json


2 changes: 2 additions & 0 deletions euphonic/writers/phonon_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def write_phonon_website_json(
Parameters
----------
modes
Phonon frequencies and eigenvectors along q-point path
output_file
Path to output file
name
Expand Down

0 comments on commit b29947c

Please sign in to comment.