Go to file
Atsushi Togo 3dc2069c5c Update MANIFEST.in to include test 2022-10-06 09:20:43 +09:00
.github Add numpy package in github action workflow for pypi release 2022-10-05 22:36:05 +09:00
c Use new dynmat.c of phonopy 2022-09-11 15:44:08 +09:00
conda Update phonopy version dependency 2022-09-18 13:59:08 +09:00
doc Set version 2.4.0 in doc/conf.py 2022-10-05 21:55:39 +09:00
example Added example on how to use the --wigner option with --read-gamma in La2Zr2O7. fc2 have been compressed as much as possible (they were imported from a DFPT calculation with QE) and only two temperatures are reported in the example. Output file tc_La2Zr2O7.out has been compressed to reduce the size. Total file size is now about 1.5MB (before compressing tc_La2Zr2O7.out was 2.3 MB). 2022-05-28 14:14:31 +01:00
phono3py Set version 2.4.0 2022-10-05 21:45:38 +09:00
scripts Remove usetex from kdeplot 2022-07-05 10:04:13 +09:00
test Add tests for openmp_per_triplets 2022-09-02 12:48:14 +09:00
.gitignore Updated document toward v2 release 2021-07-21 10:39:47 +09:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2022-09-06 00:50:21 +00:00
CMakeLists.txt Fix CMakeLists.txt and setup.py 2022-09-02 18:35:24 +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 version dependency 2022-09-18 13:59:08 +09:00
setup.py Refactoring of setup.py 2022-09-19 08:25:39 +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