Changeset 2802 for trunk/GSASIIsasd.py


Ignore:
Timestamp:
Apr 23, 2017 9:30:38 PM (4 years ago)
Author:
toby
Message:

updates for doc build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIsasd.py

    r2787 r2802  
    5151def SphereFF(Q,R,args=()):
    5252    ''' Compute hard sphere form factor - can use numpy arrays
    53     param float Q: Q value array (usually in A-1)
    54     param float R: sphere radius (Usually in A - must match Q-1 units)
    55     param array args: ignored
    56     returns float: form factors as array as needed
     53    :param float Q: Q value array (usually in A-1)
     54    :param float R: sphere radius (Usually in A - must match Q-1 units)
     55    :param array args: ignored
     56    :returns: form factors as array as needed (float)
    5757    '''
    5858    QR = Q[:,np.newaxis]*R
     
    6161def SphericalShellFF(Q,R,args=()):
    6262    ''' Compute spherical shell form factor - can use numpy arrays
    63     param float Q: Q value array (usually in A-1)
    64     param float R: sphere radius (Usually in A - must match Q-1 units)
    65     param array args: [float r]: controls the shell thickness: R_inner = min(r*R,R), R_outer = max(r*R,R)
    66     returns float: form factors as array as needed
     63    :param float Q: Q value array (usually in A-1)
     64    :param float R: sphere radius (Usually in A - must match Q-1 units)
     65    :param array args: [float r]: controls the shell thickness: R_inner = min(r*R,R), R_outer = max(r*R,R)
     66    :returns float: form factors as array as needed
     67   
    6768        Contributed by: L.A. Avakyan, Southern Federal University, Russia
    6869    '''
Note: See TracChangeset for help on using the changeset viewer.