@@ -38,7 +38,7 @@ Python Morphing Functions
3838
3939 * ``morph_info `` contains all morphs as keys (e.g. ``"scale" ``, ``"stretch" ``, ``"smear" ``) with
4040 the optimized morphing parameters found by ``diffpy.morph `` as values. ``morph_info `` also contains
41- the Rw and Pearson correlation coefficients found post-morphing. Try printing ``print(morph_info) ``
41+ the Rw and Pearson correlation coefficients found post-morphing. Try printing ``print(morph_info) ``
4242 and compare the values stored in this dictionary to those given by the CLI output!
4343 * ``morph_table `` is a two-column array of the morphed function interpolated onto the grid of the
4444 target function (e.g. in our example, it returns the contents of `darkSub_rh20_C_01.gr ` after
@@ -74,6 +74,10 @@ General Parameters
7474
7575save: str or path
7676 Save the morphed function to a the file passed to save. Use '-' for stdout.
77+ get_diff: bool
78+ Return the difference function (morphed function minus target function) instead of
79+ the morphed function (default). When save is enabled, the difference function
80+ is saved instead of the morphed function.
7781verbose: bool
7882 Print additional header details to saved files. These include details about the morph
7983 inputs and outputs.
@@ -240,4 +244,4 @@ As you can see, the fitted scale and offset values match the ones used
240244to generate the target (scale=20 & offset=0.8). This example shows how
241245``MorphFuncy `` can be used to fit and apply custom transformations. Now
242246it's your turn to experiment with other custom functions that may be useful
243- for analyzing your data.
247+ for analyzing your data.
0 commit comments