Skip to main content

Dynamic Diffraction Module

pypi python

A repository meant for (python based) functions on the dynamic diffraction theory. It is closely related to the Matlab written https://gitlab.desy.de/patrick.rauer/MatlabDiffractionStuff. The structure, however, is based on the Dynamic Diffraction submodule of the pXCP framework.

Features

Currently, the scope of the package is rather rudimentary. It includes:

  • computing the (modified) Bragg energy for any given plane H for a specific micro- and macroscopic crystal orientation
  • computing the (approximative) energy width for any given plane H for a specific micro- and macroscopic crystal orientation in the two beam approximation
  • Selecting the number of reflecting planes in the vicinity of a given photon energy + crystal orientation configuration
  • computing reflectivity/transmissivity vs energy for a specified crystal plane H0 can be computed in the two beam approximation
  • Rocking curve scans in the two beam approximation
  • diffraction at strained crystals (however, only symmetric close to backscattering for the moment)
  • Impulse reponse in time-domain

However, further functionality is to follow soon:

  • n-beam diffraction
  • asymmetric, 3D diffraction at strained crystals
  • ...

External packages

  • numpy (required)
  • xraylib (prospectively optional,currently required)
  • matplotlib
  • pandas

Usage

There is no documentation for the API yet. However, you can find some tutorial *.ipynb scripts in the playgrounds folder on gitlab.

LICENSE

  • Free software: GNU GENERAL PUBLIC LICENSE Version 3

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.

Metadata

Release files for dynamic-diffraction-module 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dynamic-diffraction-module 0.1.7
File Size Uploaded
dynamic_diffraction_module-0.1.7.tar.gz 67.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dynamic-diffraction-module 0.1.7
File Interpreter ABI Platform
dynamic_diffraction_module-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 135.0 kB

Release files / dynamic_diffraction_module-0.1.7.tar.gz

Download URL dynamic_diffraction_module-0.1.7.tar.gz
Size 67.8 kB
Tags Source
SHA-256 checksum
How to use checksums
388b8273c0333fe2df70a615fb9ff339088086880a56675f0aa4bac4b414d049
BLAKE2b-256 checksum
How to use checksums
c425b92662ffe1acff6831738768bd20e0d8f56bba3c7e0cc21c6c8a14c6fc61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/7.0.0-34-generic

Release files / dynamic_diffraction_module-0.1.7-py3-none-any.whl

Download URL dynamic_diffraction_module-0.1.7-py3-none-any.whl
Size 67.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd1b5e1b08549f6032cbd2ae5c663ce5d0438e28f1c500901e0ce46f238d958b
BLAKE2b-256 checksum
How to use checksums
6277b02d0b05e3d7d066457e6cbe985ee031c6f787ac8461916307d690e6cf8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/7.0.0-34-generic

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page