@@ -24,17 +24,15 @@ selected directory and plot resulting :math:`R_w` values from each morph.
24
24
<https://global.oup.com/academic/product/
25
25
atomic-pair-distribution-function-analysis-9780198885801> `_.
26
26
27
- 2. Let us start by getting the Rw of ``SrFe2As2_150K.gr `` compared to
27
+ 2. Let us start by getting the :math: `R_w` of ``SrFe2As2_150K.gr `` compared to
28
28
all other files in the directory. Run ::
29
29
30
30
diffpy.morph SrFe2As2_150K.gr . --multiple-targets
31
31
32
32
The multiple tag indicates we are comparing PDF file (first input)
33
33
against all PDFs in a directory (second input). Our choice of file
34
34
was ``SeFe2As2_150K.gr `` and directory was the cwd, which should be
35
- ``morphsequence ``.::
36
-
37
- diffpy.morph SrFe2As2_150K.gr . --multiple-targets --sort-by=temperature
35
+ ``morphsequence ``.
38
36
39
37
.. figure :: images/ex_tutorial_bar.png
40
38
:align: center
@@ -43,16 +41,16 @@ selected directory and plot resulting :math:`R_w` values from each morph.
43
41
Bar chart of :math: `R_W` values for each target file. Target files are
44
42
listed in ASCII sort order.
45
43
46
- 3. After running this, we get chart of Rw values for each target file.
44
+ 3. After running this, we get chart of :math: `R_w` values for each target file.
47
45
However, this chart can be a bit confusing to interpret. To get a
48
46
more understandable plot, run ::
49
47
50
48
diffpy.morph SrFe2As2_150K.gr . --multiple-targets --sort-by=temperature
51
49
52
- This plots the Rw against the temperature parameter value provided
50
+ This plots the :math: `R_w` against the temperature parameter value provided
53
51
at the top of each file. Parameters are entries of the form
54
52
``<parameter_name> = <parameter_value> `` and are located above
55
- the ``r `` versus ``gr `` table in each PDF file.::
53
+ the ``r `` versus ``gr `` table in each PDF file. ::
56
54
57
55
# SrFe2As2_150K.gr
58
56
[PDF Parameters]
@@ -77,7 +75,7 @@ selected directory and plot resulting :math:`R_w` values from each morph.
77
75
Note that we are not applying a smear since it takes a long time to
78
76
apply and does not significantly change the Rw values in this example.
79
77
80
- 5. We should now see a sharper increase in Rw between 192K and 198K.
78
+ 5. We should now see a sharper increase in :math: `R_w` between 192K and 198K.
81
79
82
80
6. Go back to the terminal to see optimized morphing parameters from each morph.
83
81
@@ -219,27 +217,25 @@ Currently, the supported nanoparticle shapes include: spheres and spheroids.
219
217
220
218
diffpy.morph Ni_nano_sphere.cgr Ni_nano_sphere.cgr
221
219
222
- 3. Nanoparticles tend to have broader peaks at r-values larger
220
+ Nanoparticles tend to have broader peaks at r-values larger
223
221
than the particle size, corresponding to the much weaker
224
222
correlations between molecules. On our plot, beyond r=22.5,
225
223
peaks are too broad to be visible, indicating our particle
226
224
size to be about 22.4. The approximate radius of a sphere
227
- would be half of that, or 11.2.::
228
-
229
- diffpy.morph Ni_bulk.gr Ni_nano_sphere.cgr --radius=11.2 -a
225
+ would be half of that, or 11.2.
230
226
231
227
232
- 4 . Now, we are ready to perform a morph applying spherical
228
+ 3 . Now, we are ready to perform a morph applying spherical
233
229
effects. To do so, we use the ``--radius `` parameter ::
234
230
235
- diffpy.morph Ni_bulk.gr Ni_nano_sphere.cgr --radius=11.2 -a
231
+ diffpy.morph Ni_bulk.gr Ni_nano_sphere.cgr --radius=11.2 -a --rmax=30
236
232
237
- 5 . We can see that the Rw value has significantly decreased
233
+ 4 . We can see that the :math: `Rw` value has significantly decreased
238
234
from before. Run without the ``-a `` tag to refine ::
239
235
240
- diffpy.morph Ni_bulk.gr Ni_nano_sphere.cgr --radius=11.2
236
+ diffpy.morph Ni_bulk.gr Ni_nano_sphere.cgr --radius=11.2 --rmax=30
241
237
242
- 6 . After refining, we see the actual radius of the
238
+ 5 . After refining, we see the actual radius of the
243
239
nanoparticle was closer to 12.
244
240
245
241
* Spheroidal Shape
@@ -255,7 +251,7 @@ Currently, the supported nanoparticle shapes include: spheres and spheroids.
255
251
enough information to define our spheroid. To apply
256
252
spheroid shape effects onto our bulk, run ::
257
253
258
- diffpy.morph Ni_bulk.gr Ni_nano_spheroid.cgr --radius=12 --pradius=6 -a
254
+ diffpy.morph Ni_bulk.gr Ni_nano_spheroid.cgr --radius=12 --pradius=6 -a --rmax=30
259
255
260
256
Note that the equatorial radius corresponds to the
261
257
``--radius `` parameter and polar radius to ``--pradius ``.
0 commit comments