@@ -462,10 +462,10 @@ Long Yang.
462
462
@item Let us start by getting the @math {R_W } of @code {SrFe2As2_150K.gr }
463
463
compared to the other, higher-temperature PDFs in the directory. Run
464
464
@example
465
- pdfmorph SrFe2As2_150K.gr . -- multiple
465
+ pdfmorph SrFe2As2_150K.gr . -- multiple-targets
466
466
@end example
467
467
@itemize
468
- @item The @code {--multiple } tag tells @code {PDFmorph } to compare the morphed file
468
+ @item The @code {--multiple-targets } tag tells @code {PDFmorph } to compare the morphed file
469
469
@code {SrFe2As2_150K.gr } against all PDFs in a directory. The directory we have
470
470
supplied is @code {. }, which is shorthand for the current working directory.
471
471
In our case, this is the @code {morphMultiple } directory.
@@ -489,7 +489,7 @@ included are temperature, wavelength, and composition.}
489
489
@end float
490
490
@item By running
491
491
@example
492
- pdfmorph SrFe2As2_150K.gr . -- multiple -- sort-by=temperature
492
+ pdfmorph SrFe2As2_150K.gr . -- multiple-targets -- sort-by=temperature
493
493
@end example
494
494
we can sort the plotted @math {R_W } values by the temperature parameter included within each file.
495
495
@itemize
@@ -506,7 +506,7 @@ instead of @code{temperature}.
506
506
a phase change. To be more certain, let us apply morphs to take into account isotropic expansion and differences
507
507
in incident flux (stretching and scaling).
508
508
@example
509
- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
509
+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
510
510
-- sort-by=temperature
511
511
@end example
512
512
The change in @math {R_W } has become more pronounced.
@@ -517,7 +517,7 @@ not significantly change the @math{R_W} values in this example.
517
517
@item We can also change what is being plotted in the ordinate using @code {--plot-parameter }. In our case,
518
518
it is useful to look at the @code {stretch } factor
519
519
@example
520
- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
520
+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
521
521
-- sort-by=temperature -- plot-parameter=stretch
522
522
@end example
523
523
We can see that the stretch factor generally increases, but from @math {192K } to @math {198K }, there is no increase.
@@ -533,7 +533,7 @@ can be done with @url{https://www.diffpy.org/products/pdfgui, PDFgui}.
533
533
@end float
534
534
@item Finally, let us save all the morphed PDFs into a directory named @code {savedMorphs }.
535
535
@example
536
- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
536
+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
537
537
-- sort-by=temperature -- plot-parameter=stretch \
538
538
-- save=savedMorphs
539
539
@end example
@@ -877,8 +877,8 @@ the residual with the target PDF.
877
877
@noindent @code {-s NAME , --save=NAME }
878
878
@* @indent Save the morphed PDF into a file named @code {NAME }. You can use
879
879
@code {- } to save to @code {stdout } instead.
880
- When you have the @code {--multiple } tag enabled, multiple morphed PDFs are
881
- generated. Using this command with the @code {--multiple } tag will save all
880
+ When you have the @code {--multiple-targets } tag enabled, multiple morphed PDFs are
881
+ generated. Using this command with the @code {--multiple-targets } tag will save all
882
882
these morphs into a directory named @code {NAME } as well as a @code {.txt }
883
883
file summary of refined morph parameters (if applicable) and @math {R_W }
884
884
for each morph done. To specify names for each saved PDF file, use the
@@ -981,7 +981,7 @@ function of a sphere with radius @code{IPRADIUS}.
981
981
@noindent @titlefont {@b {Plot options }}
982
982
983
983
These options control plotting. The morphed and target PDFs will be plotted against each other with a
984
- difference curve shown below. The following changes occur when @code {--multiple } is enabled.
984
+ difference curve shown below. The following changes occur when @code {--multiple-targets } is enabled.
985
985
(1) The @math {R_W } for each morphed PDF compared to the target will be plotted unless
986
986
another parameter is specified by @code {--plot-parameter }. (2) The plot will be a bar chart
987
987
where the abscissa names are the file names of the target PDFs unless otherwise specified by
@@ -1020,11 +1020,11 @@ be useful as PDF amplitude can get very small for large @math{r}. No magnificati
1020
1020
1021
1021
@noindent @titlefont {@b {Multiple morphs }}
1022
1022
1023
- @code {PDFmorph } allows one to morph one PDF against multiple different targets when @code {--multiple }
1023
+ @code {PDFmorph } allows one to morph one PDF against multiple different targets when @code {--multiple-targets }
1024
1024
is enabled. See @code {-s } and the description under "Plot options" for how saving and plotting
1025
- change when @code {--multiple } is enabled.
1025
+ change when @code {--multiple-targets } is enabled.
1026
1026
1027
- @noindent @code {--multiple }
1027
+ @noindent @code {--multiple-targets }
1028
1028
@* @indent Changes usage of @code {PDFmorph } to
1029
1029
@example
1030
1030
pdfmorph <MORPHED_FILE> <TARGET_DIRECTORY>
@@ -1034,25 +1034,25 @@ in the directory @code{TARGET_DIRECTORY} as the target. Files in @code{TARGET_DI
1034
1034
be sorted in ASCII sort order order unless a sorting parameter is specified by @code {sort-by }.
1035
1035
1036
1036
@noindent @code {--sort-by=FIELD }
1037
- @* @indent Used with @code {--multiple }. Sort the files in @code {TARGET_DIRECTORY } by some parameter
1037
+ @* @indent Used with @code {--multiple-targets }. Sort the files in @code {TARGET_DIRECTORY } by some parameter
1038
1038
named @code {FIELD }. Parameters can be specified within each target PDF file by lines of the form
1039
1039
@code {<PARAM_NAME> = <PARAM_VALUE> } in the header (anywhere above the @math {r } versus @math {G(r) }
1040
1040
data table). @code {PDFmorph } will attempt to find a parameter named @code {FIELD } using a
1041
1041
case-insensitive search. Numerical @code {PARAM_VALUE } will be sorted in ascending order and
1042
1042
non-numerical ones will be sorted in ASCII sort order.
1043
1043
1044
1044
@noindent @code {--reverse }
1045
- @* @indent Used with @code {--multiple }. Sort the files in @code {TARGET_DIRECTORY } in reverse
1045
+ @* @indent Used with @code {--multiple-targets }. Sort the files in @code {TARGET_DIRECTORY } in reverse
1046
1046
ASCII sort order. If a parameter is given by @code {--sort-by }, reverse the order given by
1047
1047
@code {--sort-by }.
1048
1048
1049
1049
@noindent @code {--serial-file=SERIALFILE }
1050
- @* @indent Used with @code {--multiple } and @code {--sort-by }. Look for @code {FIELD } in a serial
1050
+ @* @indent Used with @code {--multiple-targets } and @code {--sort-by }. Look for @code {FIELD } in a serial
1051
1051
file named @code {SERIALFILE } instead. Only serial file types supported by
1052
1052
@url {https://www.diffpy.org/diffpy.utils , diffpy.utils } such as @code {.json } are allowed.
1053
1053
1054
1054
@noindent @code {--save-names-file=NAMESFILE }
1055
- @* @indent Used with @code {--multiple } and @code {-s }. Specify names for each manipulated PDF when
1055
+ @* @indent Used with @code {--multiple-targets } and @code {-s }. Specify names for each manipulated PDF when
1056
1056
saving using a serial file named @code {NAMESFILE }. The format of @code {NAMESFILE } should be
1057
1057
as follows: (1) Each target PDF file name is an entry in @code {NAMESFILE }. (2) For each entry,
1058
1058
there should be a key @code {save_morph_as } whose value specified the name to save the manipulated
@@ -1076,7 +1076,7 @@ PDF as. An example @code{.json} @code{NAMESFILE} is below.
1076
1076
such as @code {.json } are allowed.
1077
1077
1078
1078
@noindent @code {--plot-parameter=PLOTPARAM }
1079
- @* @indent Used with @code {--multiple } and when plotting is enabled. Choose a parameter @code {PLOTPARAM }
1079
+ @* @indent Used with @code {--multiple-targets } and when plotting is enabled. Choose a parameter @code {PLOTPARAM }
1080
1080
to plot for each morph. When not specified, the @math {R_W } values for each morphed PDF compared to the
1081
1081
target PDFs will be plotted. This option is not case sensitive meaning @code {--plot-parameter=Scale } and
1082
1082
@code {--plot-parameter=scale } will both cause the parameter @code {scale } to be plotted.
0 commit comments