Changeset 5399809 in sasmodels for sasmodels/product.py


Ignore:
Timestamp:
Aug 21, 2018 3:32:40 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2a12351b
Parents:
c57ee9e
Message:

fix R_eff support infrastructure so more tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/product.py

    rc57ee9e r5399809  
    301301                p_details, p_values, cutoff, magnetic, effective_radius_type) 
    302302            if effective_radius_type > 0: 
     303                # Plug R_eff from p into S model (initial value and pd value) 
    303304                s_values[2] = s_values[2+s_npars+s_offset[0]] = effective_radius 
    304305            s_result = self.s_kernel.Iq(s_details, s_values, cutoff, False) 
     
    312313                p_details, p_values, cutoff, magnetic, effective_radius_type) 
    313314            if effective_radius_type > 0: 
     315                # Plug R_eff from p into S model (initial value and pd value) 
    314316                s_values[2] = s_values[2+s_npars+s_offset[0]] = effective_radius 
    315317            s_result = self.s_kernel.Iq(s_details, s_values, cutoff, False) 
Note: See TracChangeset for help on using the changeset viewer.