Changeset a807206 in sasmodels for sasmodels/models/surface_fractal.py


Ignore:
Timestamp:
Oct 1, 2016 12:42:06 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:
caddb14, 5031ca3
Parents:
2222134
Message:

updating more parameter names addressing #649

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/surface_fractal.py

    r33875e3 ra807206  
    6666        delta        =  sldParticle -sldSolv. 
    6767        radius       =  Particle radius 
    68         surface_dim  =  Surface fractal dimension (Ds) 
     68        fractal_dim_surf  =  Surface fractal dimension (Ds) 
    6969        co_length    =  Cut-off length 
    7070        background   =  background 
    7171 
    7272        Ref.   :Mildner, Hall,J Phys D Appl Phys(1986), 19, 1535-1545 
    73         Note I : This model is valid for 1<surface_dim<3 with limited q range. 
     73        Note I : This model is valid for 1<fractal_dim_surf<3 with limited q range. 
    7474        Note II: This model is not in absolute scale. 
    7575""" 
     
    8080parameters = [["radius",        "Ang", 10.0, [0, inf],   "", 
    8181               "Particle radius"], 
    82               ["surface_dim",   "",    2.0,  [1, 3],   "", 
     82              ["fractal_dim_surf",   "",    2.0,  [1, 3],   "", 
    8383               "Surface fractal dimension"], 
    8484              ["cutoff_length", "Ang", 500., [0.0, inf], "", 
     
    9090 
    9191demo = dict(scale=1, background=0, 
    92             radius=10, surface_dim=2.0, cutoff_length=500) 
     92            radius=10, fractal_dim_surf=2.0, cutoff_length=500) 
    9393 
    9494tests = [ 
    9595    # Accuracy tests based on content in test/utest_other_models.py 
    9696    [{'radius': 10.0, 
    97       'surface_dim': 2.0, 
     97      'fractal_dim_surf': 2.0, 
    9898      'cutoff_length': 500.0, 
    9999     }, 0.05, 301428.66016], 
     
    101101    # Additional tests with larger range of parameters 
    102102    [{'radius': 1.0, 
    103       'surface_dim': 1.0, 
     103      'fractal_dim_surf': 1.0, 
    104104      'cutoff_length': 10.0, 
    105105     }, 0.332070182643, 1125.00421004], 
    106106 
    107107    [{'radius': 3.5, 
    108       'surface_dim': 0.1, 
     108      'fractal_dim_surf': 0.1, 
    109109      'cutoff_length': 30.0, 
    110110      'background': 0.01, 
     
    112112 
    113113    [{'radius': 3.0, 
    114       'surface_dim': 1.0, 
     114      'fractal_dim_surf': 1.0, 
    115115      'cutoff_length': 33.0, 
    116116      'scale': 0.1, 
Note: See TracChangeset for help on using the changeset viewer.