Changeset 48fbd50 in sasmodels for sasmodels/core.py
- Timestamp:
- Mar 21, 2016 4:02:51 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r88aa3ee r48fbd50 26 26 __all__ = [ 27 27 "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", 29 29 ] 30 30 … … 167 167 168 168 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 175 169 def get_weights(parameter, values): 176 170 """ … … 210 204 def call_kernel(kernel, pars, cutoff=0, mono=False): 211 205 """ 212 Call *kernel* returned from :func:`make_kernel`with parameters *pars*.206 Call *kernel* returned from *model.make_kernel* with parameters *pars*. 213 207 214 208 *cutoff* is the limiting value for the product of dispersion weights used
Note: See TracChangeset
for help on using the changeset viewer.