Skip to content

Commit 3bb7a1e

Browse files
committed
correct rst code
1 parent 13ba9d3 commit 3bb7a1e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

doc/source/examples.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ The second example shows how to perform simple refinement of Ni structure to the
7171

7272
from diffpy.pdffit2 import PdfFit
7373

74-
2. Load experimental x-ray PDF data and nickel structure file::
74+
2. Create a PDF calculator object and assigned to the variable ``pf``. Load experimental x-ray PDF data and nickel structure file::
75+
76+
# Create new PDF calculator object.
77+
pf = PdfFit()
7578

7679
# Load experimental x-ray PDF data
7780
qmax = 30.0 # Q-cutoff used in PDF calculation in 1/A

0 commit comments

Comments
 (0)