Changeset 9c461c7 in sasmodels for sasmodels/models/mass_fractal.py


Ignore:
Timestamp:
Jan 21, 2016 2:47:17 AM (8 years ago)
Author:
piotr
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:
790bcc4c
Parents:
9eaadb3
Message:
  1. Code review from PK: renamed J1c to sph_j1c
  2. Fixed mass_fractal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/mass_fractal.py

    r9eaadb3 r9c461c7  
    8080 
    8181#             ["name", "units", default, [lower, upper], "type","description"], 
    82 parameters = [["radius",        "Ang",  10.0, [0.0, inf], "", 
    83                "Particle radius"], 
    84               ["mass_dim",      "",      1.9, [1.0, 6.0],   "", 
    85                "Mass fractal dimension"], 
    86               ["cutoff_length", "Ang", 100.0, [0.0, inf], "", 
    87                "Cut-off length"], 
     82parameters = [["radius",        "Ang",  10.0, [0.0, inf], "", "Particle radius"], 
     83              ["mass_dim",      "",      1.9, [1.0, 6.0], "", "Mass fractal dimension"], 
     84              ["cutoff_length", "Ang", 100.0, [0.0, inf], "", "Cut-off length"], 
    8885              ] 
    8986 
    9087 
    91 source = ["lib/J1c.c", "lib/lanczos_gamma.c", "mass_fractal.c"] 
     88source = ["lib/sph_j1c.c", "lib/lanczos_gamma.c", "mass_fractal.c"] 
    9289 
    9390demo = dict(scale=1, background=0, 
     
    104101           'mass_dim':      3.3, 
    105102           'cutoff_length': 1.0, 
    106            }, 0.001, 2.68342996226], 
     103           }, 0.5, 1.29016774904], 
    107104 
    108105         [{'radius':        1.0, 
     
    116113           'cutoff_length': 1.0, 
    117114           'scale':        10.0, 
    118            }, 0.051, 11.6258202095], 
     115           }, 0.051, 11.6227966145], 
    119116         ] 
Note: See TracChangeset for help on using the changeset viewer.