A relation to the same parameter of another peak can be expressed by using their label (see screenshot below).Įxporting the data or the plot is not yet supported. After this, you can constrain the peak values in the bottommost three entries: They accept input either like max where min and max are minimum and maximum values for the corresponding parameter, or like expression which can be a simple arithmetic expression or just a fixed value. When a region is selected, you can add peaks by clicking "+" next to "Peaks" and drawing them by dragging from the peak maximum downwards inside the selected region. In the fitting tab, you can first add one or more regions by clicking "+" next to "Regions", then dragging across the Plot View. The rightmost icon in the top toolbar lets you select elements whose peak positions should be displayed (see screenshot). When the "Spectra" tab is selected, you can choose the spectra to view by selecting them, right clicking and clicking "Plot selected spectra". txt files from the EIS Omicron software can be parsed. You can import spectra by clicking the plus icon in the main toolbar. Then, you need PyGObject eiter from or through MSYS ( ).
#Xps peak fitting broad peaks install#
However, you can try to install PyGObject manually and get the xpl package through pip.įirst, you need Python 3.5 (other 3.x will probably work, not tested) from or Anaconda or whatever. I have not yet succeeded in building a windows.
#Xps peak fitting broad peaks update#
To update xpl, run $ pip3 install -upgrade xpl Alternatively, run it as a module: $ python3 -m xpl To launch xpl, just select it from your applications menu.
On starting, XPL creates a ~/.config/xpl folder where configuration files and converted spectrum files will be stored. Python version needs to be >=3.5 (not tested below) and GTK needs to be version >=3.14. If you don't already have it installed, install python and pip as well as libffi6 and python-gi through apt. This will take some time until it is functional, so bear with me. However, I am also working on a total rewrite which will be in a new repository and a different PyPi package. There will be an implementation of Doniach-Sunjic type peaks as well as the possibility to control the Gauss-to-Lorentz ratio of Voigt/PseudoVoigt peaks in the near future. It can fit peaks using Pseudo Voigt profiles (more models to come) while enabling Area, Position and FWHM restrainment of the individual peaks to physically sensible values (or expressions). XPL is a tool for plotting and analyzing X-ray photoelectron spectroscopy (XPS) data.