@@ -73,7 +73,7 @@ class Fitting(Organizer):
7373 Fitting will start a new thread to interact with the PdfFit server.
7474
7575 rw: fitness parameter
76- tolerancy: accurancy requirement
76+ tolerancy: accuracy requirement
7777 step: current refinement step
7878 res: fitting result string
7979 parameters: parameter dictionary
@@ -200,7 +200,7 @@ def load(self, z, subpath):
200200 z -- zipped project file
201201 subpath -- path to its own storage within project file
202202
203- returns a tree of internal hierachy
203+ returns a tree of internal hierarchy
204204 """
205205 # subpath = projName/fitName/
206206 subs = subpath .split ("/" )
@@ -349,7 +349,7 @@ def configure(self):
349349 for key , var in struc .constraints .items ():
350350 self .server .constrain (key , var .formula )
351351
352- # phase paramters configured
352+ # phase parameters configured
353353
354354 for dataset in self .datasets :
355355 dataset .clearRefined ()
@@ -493,7 +493,7 @@ def outputBondLengthAtoms(self, struc, i, j):
493493 return
494494
495495 def outputBondLengthTypes (self , struc , a1 , a2 , lb , ub ):
496- """Output all a1-a2 bond lenghts within specified range.
496+ """Output all a1-a2 bond lengths within specified range.
497497
498498 struc -- instance of PDFStructure
499499 a1 -- symbol of the first element in pair or "ALL"
@@ -589,7 +589,7 @@ def buildNameDict(self):
589589 """build up a data name dictionary, which will map data name to a
590590 unique index
591591
592- The private dataNameDict has such strcture :
592+ The private dataNameDict has such structure :
593593 { 'd_data1':{'Gobs':12, 'Gcalc':11, ....},
594594 'd_data2':{'Gobs':10, 'Gcalc':9, ....},
595595 ...
@@ -660,7 +660,7 @@ def appendStep(self, source):
660660 snapshot [nameDict ["crw" ]] = dataset .crw
661661 seq += 1
662662
663- # udpate strucs
663+ # update strucs
664664 seq = 1
665665 for struc in self .strucs :
666666 id = struc ._getStrId ()
0 commit comments