Changeset 2222134 in sasmodels for sasmodels/models/capped_cylinder.py


Ignore:
Timestamp:
Sep 30, 2016 11:07:16 AM (8 years ago)
Author:
butler
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
a807206
Parents:
6e5b2a7
Message:

Updating parameter names regarding #649

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/capped_cylinder.py

    r42356c8 r2222134  
    9696    Note: As the length of cylinder -->0, 
    9797    it becomes a Convex Lens. 
    98     It must be that radius <(=) cap_radius. 
     98    It must be that radius <(=) radius_cap. 
    9999    [Parameters]; 
    100100    scale: volume fraction of spheres, 
     
    102102    radius: radius of the cylinder, 
    103103    length: length of the cylinder, 
    104     cap_radius: radius of the semi-spherical cap, 
     104    radius_cap: radius of the semi-spherical cap, 
    105105    sld: SLD of the capped cylinder, 
    106106    sld_solvent: SLD of the solvent. 
     
    122122              # in the capped cylinder, and zero for no bar in the barbell model.  In 
    123123              # both models, one would be a pill. 
    124               ["cap_radius", "Ang",     20, [0, inf],    "volume", "Cap radius"], 
     124              ["radius_cap", "Ang",     20, [0, inf],    "volume", "Cap radius"], 
    125125              ["length",     "Ang",    400, [0, inf],    "volume", "Cylinder length"], 
    126126              ["theta",      "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 
     
    133133demo = dict(scale=1, background=0, 
    134134            sld=6, sld_solvent=1, 
    135             radius=260, cap_radius=290, length=290, 
     135            radius=260, radius_cap=290, length=290, 
    136136            theta=30, phi=15, 
    137137            radius_pd=.2, radius_pd_n=1, 
    138             cap_radius_pd=.2, cap_radius_pd_n=1, 
     138            radius_cap_pd=.2, radius_cap_pd_n=1, 
    139139            length_pd=.2, length_pd_n=10, 
    140140            theta_pd=15, theta_pd_n=45, 
Note: See TracChangeset for help on using the changeset viewer.