Changeset d92182f in sasmodels for sasmodels/modelinfo.py
- Timestamp:
- Mar 11, 2019 9:30:49 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- d8eaa3d
- Parents:
- aee8dfb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
rfd7291e rd92182f 985 985 #: C code, either defined as a string, or in the sources. 986 986 shell_volume = None # type: Union[None, str, Callable[[np.ndarray], float]] 987 #: Computes the effective radius of the shape given the volume parameters. 988 #: Only needed for models defined in python that can be used for 989 #: monodisperse approximation for non-dilute solutions, P@S. The first 990 #: argument is the integer effective radius mode, with default 0. 991 effective_radius = None # type: Union[None, Callable[[int, np.ndarray], float]] 987 992 #: Returns *I(q, a, b, ...)* for parameters *a*, *b*, etc. defined 988 993 #: by the parameter table. *Iq* can be defined as a python function, or … … 996 1001 #: will return *I(q, a, b, ...)*. Multiplicity parameters are sent as 997 1002 #: pointers to doubles. Constants in floating point expressions should 998 #: include the decimal point. See :mod:`generate` for more details. 1003 #: include the decimal point. See :mod:`generate` for more details. If 1004 #: *have_Fq* is True, then Iq should return an interleaved array of 1005 #: $[\sum F(q_1), \sum F^2(q_1), \ldots, \sum F(q_n), \sum F^2(q_n)]$. 999 1006 Iq = None # type: Union[None, str, Callable[[np.ndarray], np.ndarray]] 1000 1007 #: Returns *I(qab, qc, a, b, ...)*. The interface follows :attr:`Iq`.
Note: See TracChangeset
for help on using the changeset viewer.