Go to file
Atsushi Togo e8cb099ae2 Update fortran test_get_bz_grid_addresses 2023-01-30 22:03:40 +09:00
.github Prepare workflow to publish gh-pages 2023-01-02 21:45:52 +09:00
c Write doxygen for C gridsys gridsys_get_BZ_triplets_at_q 2023-01-27 15:34:03 +09:00
ctest Update fortran test_get_bz_grid_addresses 2023-01-30 22:03:40 +09:00
doc Update citation page 2023-01-07 11:11:26 +09:00
example Minor refactoring 2022-10-27 09:37:50 +09:00
fortran Add fortran wrapper test system 2023-01-30 18:33:48 +09:00
phono3py Add C gridsys test_gridsys_get_triplets_at_q_wurtzite 2023-01-26 11:11:45 +09:00
scripts Remove usetex from kdeplot 2022-07-05 10:04:13 +09:00
test Update tests for relocate_BZ_grid_address to compare traditional and GR grids 2023-01-26 21:51:43 +09:00
.clang-format Update cmake recipe for c modules 2023-01-20 16:37:58 +09:00
.gitignore Update fortran test_get_bz_grid_addresses 2023-01-30 22:03:40 +09:00
.pre-commit-config.yaml Merge pull request #153 from phonopy/gridsys-test 2023-01-24 18:35:44 +09:00
CMakeLists.txt Add fortran wrapper test system 2023-01-30 18:33:48 +09:00
LICENSE Add LICENSE file and include it in package by MANIFEST.in 2016-11-29 09:02:48 +09:00
MANIFEST.in Update MANIFEST.in to include test 2022-10-06 09:20:43 +09:00
README.md Update document and version to v2.3.0 2022-04-09 15:23:47 +09:00
get_nanoversion.sh Deploy test 2020-05-03 00:34:21 +09:00
pyproject.toml Change of build system using cmake 2022-08-28 07:59:41 +09:00
requirements.txt Update phonopy dependency 2022-12-29 21:38:25 +09:00
setup.cfg Add setup.cfg 2022-11-12 22:39:31 +09:00
setup.py Rename c module of phononmod -> phononcalc 2023-01-21 12:45:13 +09:00

README.md

Version Badge Downloads Badge PyPI version PyPI codecov

phono3py

A simulation package of phonon-phonon interaction related properties. Phono3py user documentation is found at http://phonopy.github.io/phono3py/.

Mailing list for questions

Usual phono3py questions should be sent to phonopy mailing list (https://sourceforge.net/p/phonopy/mailman/).

Development

The development of phono3py is managed on the develop branch of github phono3py repository.

  • Github issues is the place to discuss about phono3py issues.

  • Github pull request is the place to request merging source code.

  • Python 3.7 is the minimum requirement.

  • Formatting is written in pyproject.toml.

  • Not strictly, but VSCode's settings.json may be written like

    "python.linting.flake8Enabled": true,
    "python.linting.flake8Args": ["--max-line-length=88", "--ignore=E203,W503"],
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": false,
    "python.linting.mypyEnabled": true,
    "python.linting.pycodestyleEnabled": false,
    "python.linting.pydocstyleEnabled": true,
    "python.formatting.provider": "black",
    "python.formatting.blackArgs": ["--line-length=88"],
    "python.sortImports.args": ["--profile", "black"],
    "[python]": {
        "editor.codeActionsOnSave": {
        "source.organizeImports": true
      },
    }
    
  • Use of pre-commit (https://pre-commit.com/) is encouraged.

    • Installed by pip install pre-commit, conda install pre_commit or see https://pre-commit.com/#install.
    • pre-commit hook is installed by pre-commit install.
    • pre-commit hook is run by pre-commit run --all-files.

Documentation

Phono3py user documentation is written using python sphinx. The source files are stored in doc directory. Please see how to write the documentation at doc/README.md.

How to run tests

You need pytest. At home directory of phono3py after setup,

% pytest