Skip to content

Commit

Permalink
updated docs to emphasize pymatgen integration
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Oct 3, 2024
1 parent bc0e2c1 commit de7ffa3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ $ pip install torch-scatter torch-sparse -f https://data.pyg.org/whl/torch-2.4.0
$ pip install ramannoodle[torch]
```

## Documentation
Ramannoodle includes interfaces with [pymatgen](https://pymatgen.org/). To use these interfaces, ramannoodle should be installed with the `[pymatgen]` option:

```
$ pip install ramannoodle[pymatgen]
```

## Tutorials and docs

[https://ramannoodle.readthedocs.io/](https://ramannoodle.readthedocs.io/)

Expand Down
2 changes: 1 addition & 1 deletion docs/coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'furo'
html_title = 'ramannoodle'
html_static_path = ['_static']
html_theme_options = {
"light_logo": "logo.png",
Expand Down
19 changes: 12 additions & 7 deletions docs/source/io.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Interfacing with first-principles software
==========================================
IO
====

Ramannoodle includes functions for reading and writing files used by quantum chemistry software. Currently, ramannoodle only supports VASP. We hope to include community-contributed interfaces with other codes in future versions.
Ramannoodle includes functions for reading and writing files used by quantum chemistry software. Currently, ramannoodle includes build-in interfaces with VASP. Ramannoodle also includes an interface with `pymatgen <https://pymatgen.org/>`_, allowing spectra to be calculated using `a wide array of DFT packages <https://pymatgen.org/pymatgen.io.html>`_.

IO
---
File IO
-------

IO operations are implemented in ramannoodle as functions. These are organized into packages and modules under :mod:`ramannoodle.io`. For example, VASP POSCAR IO functions are contained in :mod:`ramannoodle.io.vasp.poscar` while OUTCAR files can be read with functions in :mod:`ramannoodle.io.vasp.outcar`. Using this structure, files of various types can be interacted with in an intuitive and readable way:

Expand Down Expand Up @@ -37,8 +37,8 @@ These generic functions are less flexible than those first mentioned, and theref

.. _Supported formats:

Supported formats
-----------------
Supported file formats
----------------------

The following table reviews which file types and properties are currently supported by ramannoodle's IO functions:

Expand All @@ -56,3 +56,8 @@ The following table reviews which file types and properties are currently suppor

:sup:`1` Uses initial structure.
:sup:`2` Not available in :mod:`ramannoodle.io.generic`

Pymatgen integration
--------------------

Ramannoodle includes interfaces with `pymatgen <https://pymatgen.org/>`_. By taking advantage of pymatgen's IO functionality, one can use ramannoodle with a wide variety of popular DFT software packages. :mod:`ramannoodle.io.pymatgen` contains various useful functions for loading pymatgen data into ramannoodle. In addition :class:`InterpolationModel` and :class:`ARTModel` implement :meth:`.add_dof_from_pymatgen` and :meth:`.add_art_from_pymatgen` methods, allowing one to build up these models using pymatgen objects.
2 changes: 1 addition & 1 deletion docs/tests-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de7ffa3

Please sign in to comment.