Go to file
Atsushi Togo 0e33931981 Set version v2.3.2 2022-05-28 23:03:32 +09:00
.github Update github workflows 2022-02-13 20:17:37 +09:00
c Refactor imag_self_energy_with_g.c 2022-03-26 15:16:15 +09:00
conda Update phonopy version dependency 2022-05-24 15:28:45 +09:00
doc Set version v2.3.2 2022-05-28 23:03:32 +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 v2.3.2 2022-05-28 23:03:32 +09:00
scripts [pre-commit.ci] auto fixes from pre-commit.com hooks 2022-02-21 22:21:20 +00:00
test Sampling frequency points for jdos 2022-05-09 22:24:44 +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-04-11 22:31:33 +00:00
CMakeLists.txt Made cmake options to select compiled libraries 2021-04-20 18:59:26 +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 2021-02-21 15:11:26 +01: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 Remove [project] section from pyproject.toml 2022-03-25 08:42:01 +09:00
requirements.txt Update phonopy version dependency 2022-05-24 15:28:45 +09:00
setup.py Update phonopy version dependency 2022-05-24 15:28:45 +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