Skip to main content

scripts for running a GUI wrapper for PDFgetX3

Project description

pdfgetx3_gui

A gui for running PDFgetX3. I think it's a little easier to use than the interactive mode in PDFgetX3. Requires PDFgetX3 https://www.diffpy.org/products/pdfgetx.html, Scipy and PyQt(5) (pip or conda). Other common or standard packages required: numpy, matplotlib. The pdfgetx3_gui.py and pdffunctions.py scripts in the repository are required to run it.

Now on Pypi, to install run 'pip install pdfgetx3gui'. This creates a python package with an exe file called pdfgetx3gui in the python 'Scripts' folder, then it can be run with 'pdfgetx3gui' in the terminal (if Scripts is in your PATH). If this doesn't work do "python pdfgetx3_gui.py" in the terminal. Plots update on changing parameter values. Log files are made to store the current configuration so the settings are the same on rerunning the script.

Selected measurement files and background files are put into lists so they can be easily accessed again later. Press 'Plot' to run the calculation and display the selected plots (can choose any from I(Q), S(Q), F(Q), and G(r)). Pressing 'Save' will save text files containing the data of the selected plots. If the input format is '2theta', 'Save' will also return the background subtracted data as a function of 2theta with the name of <base file name>_bkgsub.xy.

There's a rebinning option to reduce high Q noise. It's not so efficient, so could probably be faster.

image

image

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

pdfgetx3gui-1.1.2.tar.gz (332.1 kB view hashes)

Uploaded Source

Built Distribution

pdfgetx3gui-1.1.2-py3-none-any.whl (327.7 kB view hashes)

Uploaded Python 3

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