Changeset 830cf6b in sasmodels for sasmodels/direct_model.py


Ignore:
Timestamp:
Mar 28, 2019 3:48:37 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
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.
Message:

Merge branch 'master' into ticket_822_v5_unit_tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/direct_model.py

    rb297ba9 re220acc  
    5959    """ 
    6060    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]) 
    6262    call_details, values, is_magnetic = make_kernel_args(calculator, mesh) 
    63     #print("values:", values) 
     63    #print("in call_kernel: values:", values) 
    6464    return calculator(call_details, values, cutoff, is_magnetic) 
    6565 
     
    7272 
    7373    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. 
    7576    """ 
    7677    R_eff_type = int(pars.pop(RADIUS_MODE_ID, 1.0)) 
    7778    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]) 
    7980    call_details, values, is_magnetic = make_kernel_args(calculator, mesh) 
    80     #print("values:", values) 
     81    #print("in call_Fq: values:", values) 
    8182    return calculator.Fq(call_details, values, cutoff, is_magnetic, R_eff_type) 
    8283 
     
    118119        active = lambda name: True 
    119120 
    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]) 
    121122    mesh = [_get_par_weights(p, values, active(p.name)) 
    122123            for p in parameters.call_parameters] 
Note: See TracChangeset for help on using the changeset viewer.