Go to file
Atsushi Togo 341a011bc1 Sampling frequency points for jdos
Handling of nac_q_direction in JointDOS was written similarly to Interaction.
2022-05-09 22:24:44 +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 document and version to v2.3.0 2022-04-09 15:23:47 +09:00
doc Move phono3py-load.md in doc/ 2022-05-08 16:00:24 +09:00
example READMEs were changed to .md 2022-03-17 19:24:38 +09:00
phono3py Sampling frequency points for jdos 2022-05-09 22:24:44 +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 document and version to v2.3.0 2022-04-09 15:23:47 +09:00
setup.py Update document and version to v2.3.0 2022-04-09 15:23:47 +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