Changeset 5024a56 in sasmodels for sasmodels/direct_model.py


Ignore:
Timestamp:
Oct 30, 2018 4:37:19 PM (5 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:
99658f6
Parents:
23df833
Message:

Make sure that the label radius_effective_mode is used throughout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/direct_model.py

    r23df833 r5024a56  
    3232from .details import make_kernel_args, dispersion_mesh 
    3333from .modelinfo import DEFAULT_BACKGROUND 
     34from .product import RADIUS_MODE_ID 
    3435 
    3536# pylint: disable=unused-import 
     
    7071 
    7172    For solid objects V_shell is equal to V_form and the volume ratio is 1. 
    72     """ 
    73     R_eff_type = int(pars.pop('radius_effective_type', 1.0)) 
     73 
     74    Use parameter *radius_effective_mode* to select the effective radius 
     75    calculation. 
     76    """ 
     77    R_eff_type = int(pars.pop(RADIUS_MODE_ID, 1.0)) 
    7478    mesh = get_mesh(calculator.info, pars, dim=calculator.dim, mono=mono) 
    7579    #print("pars", list(zip(*mesh))[0]) 
Note: See TracChangeset for help on using the changeset viewer.