Changeset 6d96b66 in sasmodels for sasmodels/models/mass_fractal.py


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_fractal.py

    ra807206 r6d96b66  
    7878 
    7979# pylint: disable=bad-whitespace, line-too-long 
    80 #             ["name", "units", default, [lower, upper], "type","description"], 
    81 parameters = [["radius",        "Ang",  10.0, [0.0, inf], "", "Particle radius"], 
    82               ["fractal_dim_mass",      "",      1.9, [1.0, 6.0], "", "Mass fractal dimension"], 
    83               ["cutoff_length", "Ang", 100.0, [0.0, inf], "", "Cut-off length"], 
    84              ] 
     80#   ["name", "units", default, [lower, upper], "type","description"], 
     81parameters = [ 
     82    ["radius",           "Ang",  10.0, [0.0, inf], "", "Particle radius"], 
     83    ["fractal_dim_mass", "",      1.9, [1.0, 6.0], "", "Mass fractal dimension"], 
     84    ["cutoff_length",    "Ang", 100.0, [0.0, inf], "", "Cut-off length"], 
     85] 
    8586# pylint: enable=bad-whitespace, line-too-long 
    8687 
Note: See TracChangeset for help on using the changeset viewer.