Changeset 1373 for trunk/GSASIIpwd.py
 Timestamp:
 Jun 3, 2014 1:29:57 PM (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIpwd.py
r1277 r1373 329 329 def factorize(num): 330 330 ''' Provide prime number factors for integer num 331 Returnsdictionary of prime factors (keys) & power for each (data)331 :returns: dictionary of prime factors (keys) & power for each (data) 332 332 ''' 333 333 factors = {} … … 455 455 456 456 def getWidthsCW(pos,sig,gam,shl): 457 'needs a doc string' 457 '''Compute the peak widths used for computing the range of a peak 458 for constant wavelength data. 459 On lowangle side, 10 FWHM are used, on highangle side 15 are used 460 (for peaks above 90 deg, these are reversed.) 461 ''' 458 462 widths = [np.sqrt(sig)/100.,gam/200.] 459 463 fwhm = 2.355*widths[0]+2.*widths[1]
Note: See TracChangeset
for help on using the changeset viewer.