@@ -243,8 +243,9 @@ def readObsStr(self, datastring):
243243 return self
244244
245245 def write (self , filename ):
246- """Same as writeCalc(). Use writeObs() to save experimental PDF
247- data.
246+ """Same as writeCalc().
247+
248+ Use writeObs() to save experimental PDF data.
248249
249250 filename -- name of file to write to
250251
@@ -267,8 +268,9 @@ def writeCalc(self, filename):
267268 return
268269
269270 def writeStr (self ):
270- """Same as writeCalcStr. Use writeObsStr() for experimental
271- PDF.
271+ """Same as writeCalcStr.
272+
273+ Use writeObsStr() for experimental PDF.
272274
273275 Return data string.
274276 """
@@ -379,9 +381,11 @@ def writeResampledObsStr(self):
379381 return s
380382
381383 def findParameters (self ):
382- """Obtain dictionary of parameters used by self.constraints. The
383- keys of returned dictionary are integer parameter indices, and
384- their values Parameter instances, with guessed initial values.
384+ """Obtain dictionary of parameters used by self.constraints.
385+
386+ The keys of returned dictionary are integer parameter indices,
387+ and their values Parameter instances, with guessed initial
388+ values.
385389
386390 returns dictionary of indices and Parameter instances
387391 """
@@ -434,11 +438,12 @@ def changeParameterIndex(self, oldidx, newidx):
434438 return
435439
436440 def copy (self , other = None ):
437- """Copy self to other. if other is None, create new instance.
441+ """Copy self to other.
438442
439- other -- ref to other object
443+ if other is None, create new instance.
444+ other -- ref to other object
440445
441- returns reference to copied object
446+ returns reference to copied object
442447 """
443448 # check arguments
444449 if other is None :
@@ -529,9 +534,10 @@ def save(self, z, subpath):
529534 # interface for data sampling
530535
531536 def getFitSamplingType (self ):
532- """Description of r-sampling used in the fit. This method
533- compares self.fitrstep with r-sampling in the observed data and
534- with Nyquist r step.
537+ """Description of r-sampling used in the fit.
538+
539+ This method compares self.fitrstep with r-sampling in the
540+ observed data and with Nyquist r step.
535541
536542 Return a string, possible values are "data", "Nyquist" or
537543 "custom".
@@ -683,7 +689,8 @@ def _set_rcalc(self, value):
683689 _get_rcalc ,
684690 _set_rcalc ,
685691 doc = """R-grid for refined data, read-only.
686- Use fitrmin, fitrmax, fitrstep to change it""" ,
692+ Use fitrmin, fitrmax, fitrstep to change it"""
693+ ,
687694 )
688695
689696 # Gcalc
0 commit comments