Changeset 1373 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Jun 3, 2014 1:29:57 PM (8 years ago)
Author:
toby
Message:

minor source documention fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1277 r1373  
    329329def factorize(num):
    330330    ''' Provide prime number factors for integer num
    331     Returns dictionary of prime factors (keys) & power for each (data)
     331    :returns: dictionary of prime factors (keys) & power for each (data)
    332332    '''
    333333    factors = {}
     
    455455               
    456456def 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 low-angle side, 10 FWHM are used, on high-angle side 15 are used
     460    (for peaks above 90 deg, these are reversed.)
     461    '''
    458462    widths = [np.sqrt(sig)/100.,gam/200.]
    459463    fwhm = 2.355*widths[0]+2.*widths[1]
Note: See TracChangeset for help on using the changeset viewer.