15
15
.. |Black | image :: https://img.shields.io/badge/code_style-black-black
16
16
:target: https://github.com/psf/black
17
17
18
- .. |CI | image :: https://github.com/diffpy/diffpy.labpdfproc/actions/workflows/main.yml/badge.svg
19
- :target: https://github.com/diffpy/diffpy.labpdfproc/actions/workflows/main.yml
18
+ .. |CI | image :: https://github.com/diffpy/diffpy.labpdfproc/actions/workflows/matrix-and-codecov-on-merge-to- main.yml/badge.svg
19
+ :target: https://github.com/diffpy/diffpy.labpdfproc/actions/workflows/matrix-and-codecov-on-merge-to- main.yml
20
20
21
21
.. |Codecov | image :: https://codecov.io/gh/diffpy/diffpy.labpdfproc/branch/main/graph/badge.svg
22
22
:target: https://codecov.io/gh/diffpy/diffpy.labpdfproc
37
37
38
38
Tools for processing x-ray powder diffraction data from laboratory sources.
39
39
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.
40
+ * LONGER DESCRIPTION HERE
62
41
63
42
For more information about the diffpy.labpdfproc library, please consult our `online documentation <https://diffpy.github.io/diffpy.labpdfproc >`_.
64
43
@@ -92,11 +71,7 @@ Then, to fully install ``diffpy.labpdfproc`` in our active environment, run ::
92
71
93
72
Another option is to use ``pip `` to download and install the latest release from
94
73
`Python Package Index <https://pypi.python.org >`_.
95
- To install using ``pip `` into your ``diffpy.labpdfproc_env `` environment, we will also have to install dependencies ::
96
-
97
- pip install -r https://raw.githubusercontent.com/diffpy/diffpy.labpdfproc/main/requirements/run.txt
98
-
99
- and then install the package ::
74
+ To install using ``pip `` into your ``diffpy.labpdfproc_env `` environment, type ::
100
75
101
76
pip install diffpy.labpdfproc
102
77
@@ -106,27 +81,6 @@ and run the following ::
106
81
107
82
pip install .
108
83
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
-
130
84
Support and Contribute
131
85
----------------------
132
86
@@ -155,7 +109,7 @@ trying to commit again.
155
109
156
110
Improvements and fixes are always appreciated.
157
111
158
- Before contributing , please read our `Code of Conduct <https://github.com/diffpy/diffpy.labpdfproc/blob/main/CODE_OF_CONDUCT.rst >`_.
112
+ Before contribuing , please read our `Code of Conduct <https://github.com/diffpy/diffpy.labpdfproc/blob/main/CODE_OF_CONDUCT.rst >`_.
159
113
160
114
Contact
161
115
-------
0 commit comments