|
35 | 35 | .. |Tracking| image:: https://img.shields.io/badge/issue_tracking-github-blue
|
36 | 36 | :target: https://github.com/diffpy/diffpy.labpdfproc/issues
|
37 | 37 |
|
38 |
| -Tools for processing x-ray powder diffraction data from laboratory sources |
| 38 | +Tools for processing x-ray powder diffraction data from laboratory sources. |
39 | 39 |
|
40 |
| -* LONGER DESCRIPTION HERE |
| 40 | +PDFgetX3 has revolutionized how PDF methods can be applied to solve nanostructure problems. |
| 41 | +However, the program was designed for use with Rapid Acquisition PDF (RAPDF) data from synchrotron sources. |
| 42 | +A key approximation inherent in the use of PDFgetX3 for RAPDF data is that absorption effects are negligible. |
| 43 | +This is typically not the case for laboratory x-ray diffractometers, where absorption effects can be significant. |
| 44 | + |
| 45 | +This app is designed to preprocess data from laboratory x-ray diffractometers before using PDFgetX3 to obtain PDFs. |
| 46 | +The app currently carries out an absorption correction assuming a parallel beam capillary geometry |
| 47 | +which is the most common geometry for lab PDF measurements. |
| 48 | + |
| 49 | +The theory is described in the following paper: |
| 50 | + |
| 51 | +An ad hoc Absorption Correction for Reliable |
| 52 | +Pair-Distribution Functions from Low Energy x-ray Sources |
| 53 | +Yucong Chen, Till Schertenleib, Andrew Yang, Pascal Schouwink, |
| 54 | +Wendy L. Queen and Simon J. L. Billinge, in preparation. |
| 55 | + |
| 56 | +The related experimental data acquisition protocols are described in the following paper: |
| 57 | + |
| 58 | +Protocols for Obtaining Reliable PDFs from Laboratory |
| 59 | +x-ray Sources Using PDFgetX3, |
| 60 | +Till Schertenleib, Daniel Schmuckler, Yucong Chen, Geng Bang Jin, |
| 61 | +Wendy L. Queen and Simon J. L. Billinge, in preparation. |
41 | 62 |
|
42 | 63 | For more information about the diffpy.labpdfproc library, please consult our `online documentation <https://diffpy.github.io/diffpy.labpdfproc>`_.
|
43 | 64 |
|
@@ -85,6 +106,27 @@ and run the following ::
|
85 | 106 |
|
86 | 107 | pip install .
|
87 | 108 |
|
| 109 | +Example |
| 110 | +------- |
| 111 | + |
| 112 | +Navigate to the directory that contains 1D diffraction patterns that you would like to process. |
| 113 | +Activate the conda environment (`conda activate diffpy.labpdfproc_env`) that contains the package and run the following command :: |
| 114 | + |
| 115 | + labpdfproc <muD> <path/to/inputfile.txt> |
| 116 | + |
| 117 | +Here replace <muD> with the value of muD for your sample |
| 118 | +and <path/to/inputfile.txt> with the path and filename of your input file. |
| 119 | +For example, if the uncorrected data case is called zro2_mo.xy and is in the current directory |
| 120 | +and it has a muD of 2.5 then the command would be :: |
| 121 | + |
| 122 | + labpdfproc 2.5 zro2_mo.xy |
| 123 | + |
| 124 | +Please type :: |
| 125 | + |
| 126 | + labpdfproc --help |
| 127 | + |
| 128 | +for more information on the available options. |
| 129 | + |
88 | 130 | Support and Contribute
|
89 | 131 | ----------------------
|
90 | 132 |
|
@@ -113,7 +155,7 @@ trying to commit again.
|
113 | 155 |
|
114 | 156 | Improvements and fixes are always appreciated.
|
115 | 157 |
|
116 |
| -Before contribuing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.labpdfproc/blob/main/CODE_OF_CONDUCT.rst>`_. |
| 158 | +Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.labpdfproc/blob/main/CODE_OF_CONDUCT.rst>`_. |
117 | 159 |
|
118 | 160 | Contact
|
119 | 161 | -------
|
|
0 commit comments