Changeset d57b06c in sasmodels for sasmodels/models/_spherepy.py


Ignore:
Timestamp:
Mar 30, 2019 2:06:15 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master
Children:
be0942c
Parents:
a42b091 (diff), e15a822 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/master' into ticket-1263-source-link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/_spherepy.py

    rc1e44e5 rd57b06c  
    7676    return 1.333333333333333 * pi * radius ** 3 
    7777 
    78 def effective_radius(mode, radius): 
     78def radius_effective(mode, radius): 
    7979    """Calculate R_eff for sphere""" 
    80     return radius 
     80    return radius if mode else 0. 
    8181 
    8282def Iq(q, sld, sld_solvent, radius): 
Note: See TracChangeset for help on using the changeset viewer.