Changeset 30b4ddf in sasmodels


Ignore:
Timestamp:
Jan 19, 2016 8:39:15 AM (9 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:
2f6f4c3, 513efc5
Parents:
da84551
Message:

Converted GelFit? model

Location:
sasmodels
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r78afdec r30b4ddf  
    9898    # Note: update compare.constrain_pars to match 
    9999    name = model_definition.name 
    100     if name in ('teubner_strey', 'broad_peak', 'two_lorentzian'): 
     100    if name in ('teubner_strey', 'broad_peak', 'two_lorentzian', 'gel_fit'): 
    101101        if oldpars.pop('scale', 1.0) != 1.0: 
    102102            warnings.warn("parameter scale not used in sasview %s"%name) 
     
    125125    # Note: update convert.revert_model to match 
    126126    name = model_definition.name 
    127     if name in ('teubner_strey','broad_peak', 'two_lorentzian'): 
     127    if name in ('teubner_strey','broad_peak', 'two_lorentzian', 'gel_fit'): 
    128128        pars['scale'] = 1 
    129129    elif name in ('guinier',): 
  • sasmodels/models/surface_fractal.py

    rda84551 r30b4ddf  
    3838 
    3939.. note:: 
    40  
    41 The surface fractal dimension $D_s$ is only valid if $1<surface\_dim<3$. 
    42 It is also only valid over a limited $q$ range (see the reference for details) 
     40    The surface fractal dimension $D_s$ is only valid if $1<surface\_dim<3$. 
     41    It is also only valid over a limited $q$ range (see the reference for details) 
    4342 
    4443 
Note: See TracChangeset for help on using the changeset viewer.