Changes in sasmodels/modelinfo.py [b297ba9:a34b811] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
rb297ba9 ra34b811 265 265 other sld parameters. The volume parameters are used for calls 266 266 to form_volume within the kernel (required for volume normalization), 267 to shell_volume (for hollow shapes), and to effective_radius(for267 to shell_volume (for hollow shapes), and to radius_effective (for 268 268 structure factor interactions) respectively. 269 269 … … 841 841 info.structure_factor = getattr(kernel_module, 'structure_factor', False) 842 842 # TODO: find Fq by inspection 843 info. effective_radius_type = getattr(kernel_module, 'effective_radius_type', None)843 info.radius_effective_modes = getattr(kernel_module, 'radius_effective_modes', None) 844 844 info.have_Fq = getattr(kernel_module, 'have_Fq', False) 845 845 info.profile_axes = getattr(kernel_module, 'profile_axes', ['x', 'y']) … … 848 848 info.source = getattr(kernel_module, 'source', []) 849 849 info.c_code = getattr(kernel_module, 'c_code', None) 850 info. effective_radius = getattr(kernel_module, 'effective_radius', None)850 info.radius_effective = getattr(kernel_module, 'radius_effective', None) 851 851 # TODO: check the structure of the tests 852 852 info.tests = getattr(kernel_module, 'tests', []) … … 961 961 #: List of options for computing the effective radius of the shape, 962 962 #: or None if the model is not usable as a form factor model. 963 effective_radius_type= None # type: List[str]963 radius_effective_modes = None # type: List[str] 964 964 #: List of C source files used to define the model. The source files 965 965 #: should define the *Iq* function, and possibly *Iqac* or *Iqabc* if the … … 989 989 #: monodisperse approximation for non-dilute solutions, P@S. The first 990 990 #: argument is the integer effective radius mode, with default 0. 991 effective_radius= None # type: Union[None, Callable[[int, np.ndarray], float]]991 radius_effective = None # type: Union[None, Callable[[int, np.ndarray], float]] 992 992 #: Returns *I(q, a, b, ...)* for parameters *a*, *b*, etc. defined 993 993 #: by the parameter table. *Iq* can be defined as a python function, or
Note: See TracChangeset
for help on using the changeset viewer.