Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anselmoo/rixsplot
Visualization of Hard- and Soft-X-Ray-RIXS
https://github.com/anselmoo/rixsplot
python3 qt5-gui rixs science spectroscopy synchrotron
Last synced: 10 days ago
JSON representation
Visualization of Hard- and Soft-X-Ray-RIXS
- Host: GitHub
- URL: https://github.com/anselmoo/rixsplot
- Owner: Anselmoo
- License: mit
- Created: 2019-09-11T17:20:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T17:28:22.000Z (about 4 years ago)
- Last Synced: 2024-05-11T22:45:47.671Z (6 months ago)
- Topics: python3, qt5-gui, rixs, science, spectroscopy, synchrotron
- Language: Python
- Homepage:
- Size: 562 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CodeFactor](https://www.codefactor.io/repository/github/anselmoo/rixsplot/badge)](https://www.codefactor.io/repository/github/anselmoo/rixsplot)
[![codebeat badge](https://codebeat.co/badges/f871eac9-8f93-41b5-aa4a-194af53cdf00)](https://codebeat.co/projects/github-com-anselmoo-rixsplot-master)
[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/Anselmoo/RIXSPlot&style=flat)](https://github.com/Anselmoo/RIXSPlot/commits/master)
[![DOI](https://zenodo.org/badge/207867243.svg)](https://zenodo.org/badge/latestdoi/207867243)
[![GitHub](https://img.shields.io/github/license/Anselmoo/RIXSPlot)](https://github.com/Anselmoo/RIXSPlot/blob/master/LICENSE)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Anselmoo/RIXSPlot)](https://github.com/Anselmoo/RIXSPlot/releases)
# RIXSPlotIn order to understand experimental, as well as computational [RIXS](https://en.wikipedia.org/wiki/Resonant_inelastic_X-ray_scattering) results, the **RIXSPlot** is developed as a PythonQt-Interface. **RIXSPlot** allows plotting of the *experimental* as well as the *calculated* RIXS-Maps and can generate the XAS-, XES-, and EnergyLoss-Cuts. For this reason, three subplots will be generated in the main-panel for XAS, XES, and RIXS and the RIXS-cuts can be extracted of each single windows just by clicking on the observed feature. After clicking, the data will be immediately exported as *txt*-file.
![User-Interface](https://github.com/Anselmoo/RIXSPlot/blob/master/doc/userinterface.001.png)
For visualization of the RIXS spectra, the colormap reference of [`matplotlib`](https://matplotlib.org/gallery/color/colormap_reference.html#sphx-glr-gallery-color-colormap-reference-py) is used. In addition to that, **RIXSPlot** can generate RIXS-Maps with a squared root or logarithmic contrast level, which is advantageous in case of dominating features such an elastic line or very intense rising- edge.**RIXSPlot** provides:
* Visualization of RIXS-Maps and their RIXS-cuts
* Exporting of (*opt:* averaged) XAS- and XES-Spectra from RIXS
* Re-calibrating of the RIXS-Maps
* Natural-Broadening-Interpolation for converting single RIXS-spectra to a complete RIXS-Map
![Naturual-Broadening-Interpolation](https://github.com/Anselmoo/RIXSPlot/blob/master/doc/GaussianInter.png)**RIXSPlot** requires:
* [PyQt5](https://riverbankcomputing.com/software/pyqt/intro)
* [numpy](https://github.com/numpy/numpy)
* [scipy](https://github.com/scipy/scipy)
* [matplotlib](https://github.com/matplotlib/matplotlib)
Further requirements are the format of the RIXS-data. The ASCII-file should like this:Incident Energy | Emission Energy | Intensity
------------ | ------------- | -------------
0.0 | 0.0 | 0.0
0.1… | 0.1… | 0.1…
⋮ | ⋮ | ⋮
⋮ | ⋮ | ⋮
⋮ | ⋮ | ⋮
#end | #end | #endInstalling and Running:
python setup.py install
python -m RIXSPlot