Diffsims
An open-source Python library providing utilities for simulating diffraction
Install / Use
/learn @pyxem/DiffsimsREADME
diffsims is an open-source Python library for simulating diffraction.
The package is released under the GPL v3 license.
.. |pypi_version| image:: https://img.shields.io/pypi/v/diffsims.svg?style=flat :target: https://pypi.python.org/pypi/diffsims
.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/diffsims.svg?logo=conda-forge&logoColor=white :target: https://anaconda.org/conda-forge/diffsims
.. |build_status| image:: https://github.com/pyxem/diffsims/workflows/build/badge.svg :target: https://github.com/pyxem/diffsims/actions/workflows/build.yml
.. |python| image:: https://img.shields.io/badge/python-3.8+-blue.svg :target: https://www.python.org/downloads/
.. |Coveralls| image:: https://coveralls.io/repos/github/pyxem/diffsims/badge.svg?branch=main :target: https://coveralls.io/github/pyxem/diffsims?branch=main
.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/diffsims.svg?label=PyPI%20downloads :target: https://pypi.org/project/diffsims/
.. |conda_downloads| image:: https://img.shields.io/conda/dn/conda-forge/diffsims.svg?label=Conda%20downloads :target: https://anaconda.org/conda-forge/diffsims
.. |doi| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3337900.svg :target: https://doi.org/10.5281/zenodo.3337900
.. |GPLv3| image:: https://img.shields.io/github/license/pyxem/diffsims :target: https://opensource.org/license/GPL-3.0
.. |GH-issues| image:: https://img.shields.io/badge/GitHub-Issues-green?logo=github :target: https://github.com/pyxem/diffsims/issues
.. |docs| image:: https://readthedocs.org/projects/diffsims/badge/?version=latest :target: https://diffsims.readthedocs.io/en/latest
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black
+----------------------+------------------------------------------------+ | Deployment | |pypi_version| |conda| | +----------------------+------------------------------------------------+ | Build status | |build_status| |docs| |python| | +----------------------+------------------------------------------------+ | Metrics | |Coveralls| | +----------------------+------------------------------------------------+ | Activity | |pypi_downloads| |conda_downloads| | +----------------------+------------------------------------------------+ | Citation | |doi| | +----------------------+------------------------------------------------+ | License | |GPLv3| | +----------------------+------------------------------------------------+ | Community | |GH-issues| | +----------------------+------------------------------------------------+ | Formatter | |black| | +----------------------+------------------------------------------------+
Documentation
Refer to the documentation <https://diffsims.readthedocs.io>__ for detailed
installation instructions, a user guide, a technical (API) reference, and the changelog <https://diffsims.readthedocs.io/en/latest/changelog.html>_.
Installation
diffsims can be installed with pip::
pip install diffsims
or conda::
conda install diffsims -c conda-forge
The source code is hosted in GitHub <https://github.com/pyxem/diffsims>, and can also
be downloaded from PyPI <https://pypi.org/project/diffsims> and
Anaconda <https://anaconda.org/conda-forge/diffsims>_.
Further details are available in the
installation guide <https://diffsims.readthedocs.io/en/latest/user/installation.html>_.
Citing diffsims
If simulations performed using diffsims form a part of published work please cite the DOI at the top of this page.
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
337.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
