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


Ignore:
Timestamp:
Mar 28, 2019 5:02:53 PM (5 months ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
db1d9d5
Parents:
e5cb3df
Message:

use radius_effective/radius_effective_mode/radius_effective_modes consistently throughout the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/_spherepy.py

    r0507e09 ra34b811  
    4848---------------------------- 
    4949 
    50 * **Author: P Kienzle**  
    51 * **Last Modified by:**  
     50* **Author: P Kienzle** 
     51* **Last Modified by:** 
    5252* **Last Reviewed by:** S King and P Parker **Date:** 2013/09/09 and 2014/01/06 
    5353* **Source added by :** Steve King **Date:** March 25, 2019 
     
    8383    return 1.333333333333333 * pi * radius ** 3 
    8484 
    85 def effective_radius(mode, radius): 
     85def radius_effective(mode, radius): 
    8686    """Calculate R_eff for sphere""" 
    87     return radius 
     87    return radius if mode else 0. 
    8888 
    8989def Iq(q, sld, sld_solvent, radius): 
Note: See TracChangeset for help on using the changeset viewer.