Changeset 48fbd50 in sasmodels for sasmodels/core.py


Ignore:
Timestamp:
Mar 21, 2016 4:02:51 PM (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:
25b30fd, 3a45c2c
Parents:
88aa3ee
Message:

twiddle with kernel interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    r88aa3ee r48fbd50  
    2626__all__ = [ 
    2727    "list_models", "load_model_info", "precompile_dll", 
    28     "build_model", "make_kernel", "call_kernel", "call_ER_VR", 
     28    "build_model", "call_kernel", "call_ER_VR", 
    2929] 
    3030 
     
    167167 
    168168 
    169 def make_kernel(model, q_vectors): 
    170     """ 
    171     Return a computation kernel from the model definition and the q input. 
    172     """ 
    173     return model(q_vectors) 
    174  
    175169def get_weights(parameter, values): 
    176170    """ 
     
    210204def call_kernel(kernel, pars, cutoff=0, mono=False): 
    211205    """ 
    212     Call *kernel* returned from :func:`make_kernel` with parameters *pars*. 
     206    Call *kernel* returned from *model.make_kernel* with parameters *pars*. 
    213207 
    214208    *cutoff* is the limiting value for the product of dispersion weights used 
Note: See TracChangeset for help on using the changeset viewer.