@@ -462,10 +462,10 @@ Long Yang.
462462@item Let us start by getting the @math {R_W } of @code {SrFe2As2_150K.gr }
463463compared to the other, higher-temperature PDFs in the directory. Run
464464@example
465- pdfmorph SrFe2As2_150K.gr . -- multiple
465+ pdfmorph SrFe2As2_150K.gr . -- multiple-targets
466466@end example
467467@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
469469@code {SrFe2As2_150K.gr } against all PDFs in a directory. The directory we have
470470supplied is @code {. }, which is shorthand for the current working directory.
471471In our case, this is the @code {morphMultiple } directory.
@@ -489,7 +489,7 @@ included are temperature, wavelength, and composition.}
489489@end float
490490@item By running
491491@example
492- pdfmorph SrFe2As2_150K.gr . -- multiple -- sort-by=temperature
492+ pdfmorph SrFe2As2_150K.gr . -- multiple-targets -- sort-by=temperature
493493@end example
494494we can sort the plotted @math {R_W } values by the temperature parameter included within each file.
495495@itemize
@@ -506,7 +506,7 @@ instead of @code{temperature}.
506506a phase change. To be more certain, let us apply morphs to take into account isotropic expansion and differences
507507in incident flux (stretching and scaling).
508508@example
509- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
509+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
510510-- sort-by=temperature
511511@end example
512512The change in @math {R_W } has become more pronounced.
@@ -517,7 +517,7 @@ not significantly change the @math{R_W} values in this example.
517517@item We can also change what is being plotted in the ordinate using @code {--plot-parameter }. In our case,
518518it is useful to look at the @code {stretch } factor
519519@example
520- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
520+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
521521-- sort-by=temperature -- plot-parameter=stretch
522522@end example
523523We 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}.
533533@end float
534534@item Finally, let us save all the morphed PDFs into a directory named @code {savedMorphs }.
535535@example
536- pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple \
536+ pdfmorph SrFe2As2_150K.gr . -- scale=1 -- stretch=0 -- multiple-targets \
537537-- sort-by=temperature -- plot-parameter=stretch \
538538-- save=savedMorphs
539539@end example
@@ -877,8 +877,8 @@ the residual with the target PDF.
877877@noindent @code {-s NAME , --save=NAME }
878878@* @indent Save the morphed PDF into a file named @code {NAME }. You can use
879879@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
882882these morphs into a directory named @code {NAME } as well as a @code {.txt }
883883file summary of refined morph parameters (if applicable) and @math {R_W }
884884for 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}.
981981@noindent @titlefont {@b {Plot options }}
982982
983983These 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.
985985(1) The @math {R_W } for each morphed PDF compared to the target will be plotted unless
986986another parameter is specified by @code {--plot-parameter }. (2) The plot will be a bar chart
987987where 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
10201020
10211021@noindent @titlefont {@b {Multiple morphs }}
10221022
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 }
10241024is 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.
10261026
1027- @noindent @code {--multiple }
1027+ @noindent @code {--multiple-targets }
10281028@* @indent Changes usage of @code {PDFmorph } to
10291029@example
10301030pdfmorph <MORPHED_FILE> <TARGET_DIRECTORY>
@@ -1034,25 +1034,25 @@ in the directory @code{TARGET_DIRECTORY} as the target. Files in @code{TARGET_DI
10341034be sorted in ASCII sort order order unless a sorting parameter is specified by @code {sort-by }.
10351035
10361036@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
10381038named @code {FIELD }. Parameters can be specified within each target PDF file by lines of the form
10391039@code {<PARAM_NAME> = <PARAM_VALUE> } in the header (anywhere above the @math {r } versus @math {G(r) }
10401040data table). @code {PDFmorph } will attempt to find a parameter named @code {FIELD } using a
10411041case-insensitive search. Numerical @code {PARAM_VALUE } will be sorted in ascending order and
10421042non-numerical ones will be sorted in ASCII sort order.
10431043
10441044@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
10461046ASCII sort order. If a parameter is given by @code {--sort-by }, reverse the order given by
10471047@code {--sort-by }.
10481048
10491049@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
10511051file named @code {SERIALFILE } instead. Only serial file types supported by
10521052@url {https://www.diffpy.org/diffpy.utils , diffpy.utils } such as @code {.json } are allowed.
10531053
10541054@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
10561056saving using a serial file named @code {NAMESFILE }. The format of @code {NAMESFILE } should be
10571057as follows: (1) Each target PDF file name is an entry in @code {NAMESFILE }. (2) For each entry,
10581058there 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.
10761076such as @code {.json } are allowed.
10771077
10781078@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 }
10801080to plot for each morph. When not specified, the @math {R_W } values for each morphed PDF compared to the
10811081target PDFs will be plotted. This option is not case sensitive meaning @code {--plot-parameter=Scale } and
10821082@code {--plot-parameter=scale } will both cause the parameter @code {scale } to be plotted.
0 commit comments