@@ -96,13 +96,13 @@ def set_structure(self, structure, name="phase", periodic=False):
9696
9797 Parameters
9898 ----------
99- structure
100- diffpy.structure.Structure, pyobjcryst.crystal.Crystal or
101- pyobjcryst.molecule.Molecule instance. Default None .
102- name
99+ structure : Structure object
100+ The ` diffpy.structure.Structure`, ` pyobjcryst.crystal.Crystal` or
101+ ` pyobjcryst.molecule.Molecule` instance.
102+ name : str, optional
103103 A name to give to the managed ParameterSet that adapts structure
104104 (default "phase").
105- periodic
105+ periodic : bool, optional
106106 The structure should be treated as periodic (default
107107 False). Note that some structures do not support
108108 periodicity, in which case this will have no effect on the
@@ -120,12 +120,12 @@ def set_structure_from_parset(self, parset, periodic=False):
120120
121121 Parameters
122122 ----------
123- parset
124- A SrRealParSet that holds the structural information.
123+ parset : SrealParSet object
124+ The SrRealParSet that holds the structural information.
125125 This can be used to share the phase between multiple
126126 BasePDFGenerators, and have the changes in one reflect in
127127 another.
128- periodic
128+ periodic : bool, optional
129129 The structure should be treated as periodic (default True).
130130 Note that some structures do not support periodicity, in
131131 which case this will be ignored.
0 commit comments