Ignore:
Timestamp:
Sep 10, 2018 2:16:46 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
d299327
Parents:
3f818b2
Message:

clean up effective radius functions; improve mono_gauss_coil accuracy; start moving VR into C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_cylinder.py

    rc44b611 ree60aa7  
    132132source = ["lib/polevl.c", "lib/sas_J1.c", "lib/gauss76.c", "core_shell_cylinder.c"] 
    133133have_Fq = True 
    134 effective_radius_type = ["equivalent sphere","outer radius","half outer length","half min outer dimension", 
    135                          "half max outer dimension","half outer diagonal"] 
    136  
    137 #def ER(radius, thickness, length): 
    138 #    """ 
    139 #    Returns the effective radius used in the S*P calculation 
    140 #    """ 
    141 #    radius = radius + thickness 
    142 #    length = length + 2 * thickness 
    143 #    ddd = 0.75 * radius * (2 * radius * length + (length + radius) * (length + pi * radius)) 
    144 #    return 0.5 * (ddd) ** (1. / 3.) 
     134effective_radius_type = [ 
     135    "equivalent sphere", "outer radius", "half outer length", 
     136    "half min outer dimension", "half max outer dimension", 
     137    "half outer diagonal", 
     138    ] 
    145139 
    146140def random(): 
Note: See TracChangeset for help on using the changeset viewer.