diffpy.pdfgui.applications package

Submodules

diffpy.pdfgui.applications.pdfgui module

PDFgui Graphical User Interface for Pair Distribution Function fitting Usage: pdfgui [project.dpp]

PDFgui is graphical user interface to PDFfit2 - a Python library for PDF simulation and structure refinement. PDFgui has many nice features such as control of multiple fits, integrated plotting, easy setup of sequential refinements, and saving of entire project in a single file.

Options:
-h, --help

display this message

-V, --version

show program version

Debugging options:
--db-noed

disable exceptions catching to ErrorReportDialog

--db-nocf

exit without asking to save modified project

--db-pdb

use Python debugger to handle error exceptions

diffpy.pdfgui.applications.pdfgui.main()[source]

Main entry point to PDFgui.

diffpy.pdfgui.applications.pdfgui.processArguments(argv1)[source]

Process command line arguments and store results in pdfguiglobals. This method updates cmdopts, cmdargs and dbopts attributes in the pdfguiglobals module.

argv1 – list of command line arguments excluding the executable

Returns boolean flag to indicate if the execution should continue. The flag is False, when options contain –help or –version. Raises GetoptError for invalid options. Raises ValueError for more than one project file arguments or when project is not a valid file.

diffpy.pdfgui.applications.pdfgui.usage()[source]

Show usage info.

diffpy.pdfgui.applications.pdfgui.version()[source]