|
1 | 1 | ######################### |
2 | | -diffpy.srmise |
| 2 | +SrMise |
3 | 3 | ######################### |
4 | 4 |
|
5 | | -Tool for unbiased peak extraction from atomic pair distribution functions. |
| 5 | +`DiffPy project <http://www.diffpy.org>`_ tool for unbiased peak extraction from |
| 6 | +atomic pair distribution functions. |
6 | 7 |
|
7 | | -The diffpy.srmise package is an implementation of the `ParSCAPE algorithm |
| 8 | +SrMise is an implementation of the `ParSCAPE algorithm |
8 | 9 | <https://dx.doi.org/10.1107/S2053273315005276>`_ for peak extraction from |
9 | 10 | atomic pair distribution functions (PDFs). It is designed to function even |
10 | 11 | when *a priori* knowledge of the physical sample is limited, utilizing the |
11 | 12 | Akaike Information Criterion (AIC) to estimate whether peaks are |
12 | 13 | statistically justified relative to alternate models. Three basic use cases |
13 | | -are anticipated for diffpy.srmise. The first is peak fitting a user-supplied |
| 14 | +are anticipated for SrMise. The first is peak fitting a user-supplied |
14 | 15 | collections of peaks. The second is peak extraction from a PDF with no (or |
15 | 16 | only partial) user-supplied peaks. The third is an AIC-driven multimodeling |
16 | | -analysis where the output of multiple diffpy.srmise trials are ranked. |
| 17 | +analysis where the output of multiple SrMise trials are ranked. |
17 | 18 |
|
18 | 19 | The framework for peak extraction defines peak-like clusters within the data, |
19 | 20 | extracts a single peak within each cluster, and iteratively combines nearby |
20 | 21 | clusters while performing a recursive search on the residual to identify |
21 | 22 | occluded peaks. Eventually this results in a single global cluster |
22 | 23 | containing many peaks fit over all the data. Over- and underfitting are |
23 | | -discouraged by use of the AIC when adding or removing (during a pruning step) |
| 24 | +discouraged by use of the AIC when adding or, during a pruning step, removing |
24 | 25 | peaks. Termination effects, which can lead to physically spurious peaks in |
25 | 26 | the PDF, are incorporated in the mathematical peak model and the pruning step |
26 | 27 | attempts to remove peaks which are fit better as termination ripples due to |
27 | 28 | another peak. |
28 | 29 |
|
29 | | -Where possible, diffpy.srmise provides physically reasonable default values |
| 30 | +Where possible, SrMise provides physically reasonable default values |
30 | 31 | for extraction parameters. However, the PDF baseline should be estimated by |
31 | 32 | the user before extraction, or by performing provisional peak extraction with |
32 | 33 | varying baseline parameters. The package defines a linear (crystalline) |
33 | 34 | baseline, arbitrary polynomial baseline, a spherical nanoparticle baseline, |
34 | 35 | and an arbitrary baseline interpolated from a list of user-supplied values. |
35 | 36 | In addition, PDFs with accurate experimentally-determined uncertainties are |
36 | 37 | necessary to provide the most reliable results, but historically such PDFs |
37 | | -are rare. In the absence of accurate uncertainties an ad hoc uncertainty |
| 38 | +are rare. In the absence of accurate uncertainties an *ad hoc* uncertainty |
38 | 39 | must be specified. |
39 | 40 |
|
40 | | -For more information about the diffpy.srmise library, see the users manual at |
| 41 | +For more information about SrMise, see the users manual at |
41 | 42 | http://diffpy.github.io/diffpy.srmise. |
42 | 43 |
|
43 | 44 | Getting Started |
@@ -79,20 +80,19 @@ sure to download the 32-bit versions of these packages. |
79 | 80 | * `SciPy <http://sourceforge.net/projects/scipy/files/scipy/>`_ |
80 | 81 | * `matplotlib <http://matplotlib.org/downloads.html>`_ |
81 | 82 |
|
82 | | -After installing Python and the required packages, we can install SrMise. |
83 | | -The simplest way to obtain diffpy.srmise on Windows systems |
84 | | -is using ``pip`` to download and install the latest release from the |
85 | | -`Python Package Index <https://pypi.python.org>`_ (PyPI). To do so, open a |
86 | | -command window by running ``cmd`` from the Start Menu's application search box |
87 | | -(Windows 7/8/10) or Run command (Windows Vista and earlier). Verify that the |
| 83 | +After installing Python and the required packages, the simplest way to obtain |
| 84 | +SrMise is using ``pip`` to download and install the latest release from the |
| 85 | +`Python Package Index <https://pypi.python.org>`_ (PyPI). Open a command window |
| 86 | +by running ``cmd`` from the Start Menu's application search box (Windows 7/8/10) |
| 87 | +or Run command (Windows Vista and earlier). Verify that the |
88 | 88 | ``pip`` program is installed by running :: |
89 | 89 |
|
90 | 90 | pip --version |
91 | 91 |
|
92 | 92 | If this command is not found, download and run |
93 | 93 | `get-pip.py <https://bootstrap.pypa.io/get-pip.py>`_, which will install both it |
94 | | -and setuptools. For example, if your Windows user name is ``MyName`` and you |
95 | | -download the file to the desktop, you would run the following from the command |
| 94 | +and setuptools. For example, if the file were downloaded to the desktop, a |
| 95 | +Windows user named ``MyName`` should run the following from the command |
96 | 96 | line: :: |
97 | 97 |
|
98 | 98 | cd C:\Users\MyName\Desktop |
@@ -124,7 +124,7 @@ is using ``pip`` to download and install the latest release from |
124 | 124 |
|
125 | 125 | sudo pip install diffpy.srmise |
126 | 126 |
|
127 | | -If you prefer to install from sources, download them from the |
| 127 | +Those who prefer to install from sources may download them from the |
128 | 128 | `GitHub <https://github.com/diffpy/diffpy.srmise/releases>`__ or |
129 | 129 | `PyPI <https://pypi.python.org/pypi/diffpy.srmise>`__ pages for SrMise. |
130 | 130 | Uncompress them to a directory, and from that directory run :: |
@@ -158,7 +158,7 @@ is using ``pip`` to download and install the latest release from the |
158 | 158 |
|
159 | 159 | sudo pip install diffpy.srmise |
160 | 160 |
|
161 | | -If you prefer to install from sources, download them from the |
| 161 | +Those who prefer to install from sources may download them from the |
162 | 162 | `GitHub <https://github.com/diffpy/diffpy.srmise/releases>`__ or |
163 | 163 | `PyPI <https://pypi.python.org/pypi/diffpy.srmise>`__ pages for SrMise. |
164 | 164 | Uncompress them to a directory, and from that directory run :: |
@@ -196,8 +196,8 @@ The source code of *pdfdataset.py* was derived from diffpy.pdfgui. |
196 | 196 | CONTACTS |
197 | 197 | ======== |
198 | 198 |
|
199 | | -For more information on diffpy.srmise please visit the project web-page |
| 199 | +For more information on SrMise please visit the DiffPy project web-page |
200 | 200 |
|
201 | | -http://www.diffpy.org |
| 201 | +http://www.diffpy.org/ |
202 | 202 |
|
203 | 203 | or email Prof. Simon Billinge at sb2896@columbia.edu. |
0 commit comments