Changeset 9a66e65 in sasmodels for sasmodels/compare_many.py


Ignore:
Timestamp:
Dec 9, 2015 9:12:17 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
716abe0
Parents:
dcef2ee
Message:

refactor sasmodels to sasview parameter conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare_many.py

    r5d316e9 r9a66e65  
    99from .compare import (MODELS, randomize_model, suppress_pd, eval_sasview, 
    1010                      eval_opencl, eval_ctypes, make_data, get_demo_pars, 
    11                       columnize, constrain_pars) 
     11                      columnize, constrain_pars, constrain_new_to_old) 
    1212 
    1313def calc_stats(target, value, index): 
     
    7474        pars_i, seed = randomize_model(pars) 
    7575        constrain_pars(model_definition, pars_i) 
     76        constrain_new_to_old(model_definition, pars_i) 
    7677        if mono: suppress_pd(pars_i) 
    7778 
Note: See TracChangeset for help on using the changeset viewer.