Go to file
Atsushi Togo 87bc1d8874 Merge branch 'rc' 2023-12-26 12:43:32 +09:00
.github Set version 2.9.1 2023-12-26 12:05:40 +09:00
c Set fc3-r0-average default 2023-12-25 15:19:55 +09:00
ctest Improve tests of get_bz_triplets_at_q 2023-02-08 12:02:49 +09:00
doc Set version 2.9.1 2023-12-26 12:05:40 +09:00
example Fix unit conversion to calculate force constants 2023-11-19 19:02:48 +09:00
fortran Fix fortran interface of gridsys_rotate_bz_grid_index 2023-02-03 10:27:17 +09:00
phono3py Set version 2.9.1 2023-12-26 12:05:40 +09:00
scripts Bug fix of phono3py-kdeplot in the case of using --fmax 2023-05-09 09:49:11 +09:00
test Update test_kappa_RTA_si_grg using denser mesh 2023-12-26 07:58:19 +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 [pre-commit.ci] pre-commit autoupdate 2023-12-18 21:40:16 +00: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 Release 2.8.0 2023-12-04 12:05:37 +09:00
setup.cfg Add setup.cfg 2022-11-12 22:39:31 +09:00
setup.py Release 2.8.0 2023-12-04 12:05:37 +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