Ignore:
Timestamp:
Oct 18, 2016 10:32:18 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
f0afad2
Parents:
3e8ea5d
Message:

fractal models: handle limits of q=0 and dim=1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/mass_surface_fractal.py

    r30fbe2e r6d96b66  
    7878 
    7979# pylint: disable=bad-whitespace, line-too-long 
    80 #             ["name", "units", default, [lower, upper], "type","description"], 
    81 parameters = [["fractal_dim_mass",      "",    1.8, [1e-16, 6.0], "", 
    82                "Mass fractal dimension"], 
    83               ["fractal_dim_surf",   "",    2.3, [1e-16, 6.0], "", 
    84                "Surface fractal dimension"], 
    85               ["rg_cluster", "Ang",   86.7, [0.0, inf], "", 
    86                "Cluster radius of gyration"], 
    87               ["rg_primary", "Ang", 4000.,  [0.0, inf], "", 
    88                "Primary particle radius of gyration"], 
    89              ] 
     80#   ["name", "units", default, [lower, upper], "type","description"], 
     81parameters = [ 
     82    ["fractal_dim_mass", "",      1.8, [0.0, 6.0], "", "Mass fractal dimension"], 
     83    ["fractal_dim_surf", "",      2.3, [0.0, 6.0], "", "Surface fractal dimension"], 
     84    ["rg_cluster",       "Ang",  86.7, [0.0, inf], "", "Cluster radius of gyration"], 
     85    ["rg_primary",       "Ang", 4000., [0.0, inf], "", "Primary particle radius of gyration"], 
     86] 
    9087# pylint: enable=bad-whitespace, line-too-long 
    9188 
Note: See TracChangeset for help on using the changeset viewer.