Skip to main content

SR-xraylib

About

Miscellaneous utilities and tools for synchrotron radiation and x-ray optics.

The classes and functions here can be used in a standalone mode. They include:

  • metrology: tools for x-ray optics metrology, including dabam (DAtaBAse for Metrology profiles) [1,2].
  • plot: plotting tools. GOL (Graphics in One Line) contains functions to make simple plots easily using matplotlib.
  • synchrotron sources: srfunc contains functions to calculate synchrotron emission of bending magnets and wigglers.
  • util:
    • data_structors: igor-like data structures.
    • h5_simple_writer: simple writer for hdf5 files.
    • inverse_method_sampler: classes for generating random numbers following given 1D, 2D and 3D probability distribution functions.

Documentation

https://srxraylib.readthedocs.io/

Source repository

https://github.com/oasys-kit/sr-xraylib

Quick-installation

srxraylib can be installed with Python 3.x:

$ python -m pip install srxraylib

References

[1] https://github.com/oasys-kit/DabamFiles

[2] http://dx.doi.org/10.1107/S1600577516005014

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srxraylib-1.0.68.tar.gz (121.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srxraylib-1.0.68-py3-none-any.whl (138.6 kB view details)

Uploaded Python 3

File details

Details for the file srxraylib-1.0.68.tar.gz.

File metadata

  • Download URL: srxraylib-1.0.68.tar.gz
  • Upload date:
  • Size: 121.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for srxraylib-1.0.68.tar.gz
Algorithm Hash digest
SHA256 e8d74bdc6719605f60544a893d63d39d3aaf1f5b78645691fcc0ce3a5419d7f5
MD5 8533ca8a09fc4f487f39665f1fdd6cba
BLAKE2b-256 9b0c12be75a4828a6170f3ec38dc6f2aca394dd51ea76941d1ce2ee83b2c7796

See more details on using hashes here.

File details

Details for the file srxraylib-1.0.68-py3-none-any.whl.

File metadata

  • Download URL: srxraylib-1.0.68-py3-none-any.whl
  • Upload date:
  • Size: 138.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for srxraylib-1.0.68-py3-none-any.whl
Algorithm Hash digest
SHA256 35302ecf6c3a2480a22927b7689f0fac02a3470220564c14e8656a89200a754d
MD5 49380defd0bc2175d179fcf089eccf14
BLAKE2b-256 e02d4c753f4e7094e8ad257df78843ade8d4f7c3789a4eadff275d56b4762d0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page