Changeset 830cf6b in sasmodels for sasmodels/direct_model.py
- Timestamp:
- Mar 28, 2019 3:48:37 PM (5 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- b2f0e5d, abe4255
- Parents:
- e220acc (diff), 62dc889 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
rb297ba9 re220acc 59 59 """ 60 60 mesh = get_mesh(calculator.info, pars, dim=calculator.dim, mono=mono) 61 #print(" pars", list(zip(*mesh))[0])61 #print("in call_kernel: pars:", list(zip(*mesh))[0]) 62 62 call_details, values, is_magnetic = make_kernel_args(calculator, mesh) 63 #print(" values:", values)63 #print("in call_kernel: values:", values) 64 64 return calculator(call_details, values, cutoff, is_magnetic) 65 65 … … 72 72 73 73 Use parameter *radius_effective_mode* to select the effective radius 74 calculation. 74 calculation to use amongst the *radius_effective_modes* list given in the 75 model. 75 76 """ 76 77 R_eff_type = int(pars.pop(RADIUS_MODE_ID, 1.0)) 77 78 mesh = get_mesh(calculator.info, pars, dim=calculator.dim, mono=mono) 78 #print(" pars", list(zip(*mesh))[0])79 #print("in call_Fq: pars", list(zip(*mesh))[0]) 79 80 call_details, values, is_magnetic = make_kernel_args(calculator, mesh) 80 #print(" values:", values)81 #print("in call_Fq: values:", values) 81 82 return calculator.Fq(call_details, values, cutoff, is_magnetic, R_eff_type) 82 83 … … 118 119 active = lambda name: True 119 120 120 #print(" pars",[p.id for p in parameters.call_parameters])121 #print("in get_mesh: pars:",[p.id for p in parameters.call_parameters]) 121 122 mesh = [_get_par_weights(p, values, active(p.name)) 122 123 for p in parameters.call_parameters]
Note: See TracChangeset
for help on using the changeset viewer.