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


Ignore:
Timestamp:
Sep 30, 2016 10:42:06 PM (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/gel_fit.py

    r40a87fa ra807206  
    6262#             ["name", "units", default, [lower, upper], "type","description"], 
    6363parameters = [["guinier_scale",    "cm^-1",   1.7, [-inf, inf], "", "Guinier length scale"], 
    64               ["lorentzian_scale", "cm^-1",   3.5, [-inf, inf], "", "Lorentzian length scale"], 
    65               ["gyration_radius",  "Ang",     104.0, [2, inf],    "", "Radius of gyration"], 
    66               ["fractal_exp",      "",          2.0, [0, inf],    "", "Fractal exponent"], 
     64              ["lorentz_scale", "cm^-1",   3.5, [-inf, inf], "", "Lorentzian length scale"], 
     65              ["rg",  "Ang",     104.0, [2, inf],    "", "Radius of gyration"], 
     66              ["fractal_dim",      "",          2.0, [0, inf],    "", "Fractal exponent"], 
    6767              ["cor_length",       "Ang",      16.0, [0, inf],    "", "Correlation length"] 
    6868             ] 
     
    7373demo = dict(background=0.01, 
    7474            guinier_scale=1.7, 
    75             lorentzian_scale=3.5, 
    76             gyration_radius=104, 
    77             fractal_exp=2.0, 
     75            lorentz_scale=3.5, 
     76            rg=104, 
     77            fractal_dim=2.0, 
    7878            cor_length=16.0) 
    7979 
    8080tests = [[{'guinier_scale': 1.0, 
    81            'lorentzian_scale': 1.0, 
    82            'gyration_radius': 10.0, 
    83            'fractal_exp': 10.0, 
     81           'lorentz_scale': 1.0, 
     82           'rg': 10.0, 
     83           'fractal_dim': 10.0, 
    8484           'cor_length': 20.0, 
    8585           'background': 0.0, 
     
    8787 
    8888         [{'guinier_scale': 4.0, 
    89            'lorentzian_scale': 10.0, 
    90            'gyration_radius': 500.0, 
    91            'fractal_exp': 1.0, 
     89           'lorentz_scale': 10.0, 
     90           'rg': 500.0, 
     91           'fractal_dim': 1.0, 
    9292           'cor_length': 20.0, 
    9393           'background': 20.0, 
Note: See TracChangeset for help on using the changeset viewer.