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', or clone this repository and run 'pip install .' (add -e to make it editable). 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.3.2.tar.gz (349.2 kB view details)

Uploaded Source

Built Distribution

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

pdfgetx3gui-1.3.2-py3-none-any.whl (346.9 kB view details)

Uploaded Python 3

File details

Details for the file pdfgetx3gui-1.3.2.tar.gz.

File metadata

  • Download URL: pdfgetx3gui-1.3.2.tar.gz
  • Upload date:
  • Size: 349.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pdfgetx3gui-1.3.2.tar.gz
Algorithm Hash digest
SHA256 e7240d0ae5d1c667fc8085089e016b0c8cd2b979910a58789dca3b58812729ee
MD5 0bcf7ea3edba0122cf4e492dd1056431
BLAKE2b-256 6cf62c54434a74485c0bd60c84e5dd408e38bc1d43300833012212ecddfd812e

See more details on using hashes here.

File details

Details for the file pdfgetx3gui-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: pdfgetx3gui-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 346.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pdfgetx3gui-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f24009d63d56b724f4bfd85d4503af7e79724cf7115dfb4b9fffe3ae937341
MD5 6e69a9e9da3f3fa09ac9aea00c6d84c2
BLAKE2b-256 2883c5b76fcce729ecf865a1b5a558f91e3e3dd0f50a76a1ea2d065e19ba8c06

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 Pingdom Monitoring Sentry Error logging StatusPage Status page