Skip to main content

Synchrotron Radiation X-ray library

Project description

About

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

The classes and functions here can be used in a standalone more. 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) contain functions to make easily simple plots 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 functons

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

Project details


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.55.tar.gz (105.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page