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.2.tar.gz (331.8 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.2-py3-none-any.whl (329.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pdfgetx3gui-1.2.tar.gz
Algorithm Hash digest
SHA256 6849115f6dd23b2a58749355c681dc1a772e24e3690ab2ebd3ea579cb48685bb
MD5 384edc86590ca5a03445e1798e3b3c8f
BLAKE2b-256 f6857f5e1a681841f9312bd6cfe7c65c2e4e91815722fcb31c8a07dc04e1f441

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pdfgetx3gui-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4780b065f3aa2a1263f91705fdc8b7a83196f169a53d144a53aa7c0a8cf7a6
MD5 5358a36c6edef0f0769488460423b911
BLAKE2b-256 24117ca9848505f2030d71a76f6b24b460105d5d38cbd73b959ac644c2c6027a

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