Skip to content

Commit dccfd1a

Browse files
committed
Fix typo in stretch parameter
1 parent a02d3c4 commit dccfd1a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/morphpy.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Python Morphing Functions
1717
morph on the files `darkSub_rh20_C_01.gr` and `darkSub_rh20_C_44.gr` using the command-line
1818
command ::
1919

20-
diffpy.morph --scale=0.8 --smear=-0.08 --stretch=0.5 --rmin=1.5 --rmax=30 darkSub_rh20_C_01.gr darkSub_rh20_C_44.gr
20+
diffpy.morph --scale=0.8 --smear=-0.08 --stretch=0.005 --rmin=1.5 --rmax=30 darkSub_rh20_C_01.gr darkSub_rh20_C_44.gr
2121

2222
2. To do the same on Python, we must first create a new Python script in the same directory as the
2323
data files `darkSub_rh20_C_01.gr` and `darkSub_rh20_C_44.gr`.
@@ -29,10 +29,10 @@ Python Morphing Functions
2929

3030
morph_info, morph_table = morph("darkSub_rh20_C_01.gr", "darkSub_rh20_C_44.gr", scale=0.8, smear=-0.08, stretch=0.5, rmin=1.5, rmax=30)
3131

32-
* The ``morph`` function takes in two file names (or paths). You can also provide various parameters
33-
for morphing (see the Full Parameter List below).
34-
* If, let's say, the file `darkSub_rh20_C_01.gr` is in a subdirectory `subdir/darkSub_rh20_C_01.gr`,
35-
you should replace ``"darkSub_rh20_C_01.gr"`` in the above example with ``"subdir/darkSub_rh20_C_01.gr"``.
32+
* The ``morph`` function takes in two file names (or paths). You can also provide various parameters
33+
for morphing (see the Full Parameter List below).
34+
* If, let's say, the file `darkSub_rh20_C_01.gr` is in a subdirectory `subdir/darkSub_rh20_C_01.gr`,
35+
you should replace ``"darkSub_rh20_C_01.gr"`` in the above example with ``"subdir/darkSub_rh20_C_01.gr"``.
3636

3737
4. The ``morph`` function returns a dictionary ``morph_info`` and a numpy array ``morph_table``.
3838

docs/source/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Basic diffpy.morph Workflow
181181
8. Finally, we will examine the stretch factor. Provide an initial
182182
guess by typing ::
183183

184-
diffpy.morph --scale=0.8 --smear=-0.08 --stretch=0.5 --rmin=1.5 --rmax=30 -a darkSub_rh20_C_01.gr darkSub_rh20_C_44.gr
184+
diffpy.morph --scale=0.8 --smear=-0.08 --stretch=0.005 --rmin=1.5 --rmax=30 -a darkSub_rh20_C_01.gr darkSub_rh20_C_44.gr
185185

186186
And noting that the difference has increased. Before continuing,
187187
see if you can see which direction (higher or lower) our initial

0 commit comments

Comments
 (0)