Changeset b6d1d52 in sasmodels
- Timestamp:
- Sep 27, 2018 10:47:35 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 293fee5
- Parents:
- 1e420e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/direct_model.py
r7b9e4dd rb6d1d52 31 31 from . import resolution2d 32 32 from .details import make_kernel_args, dispersion_mesh 33 from .modelinfo import DEFAULT_BACKGROUND34 33 35 34 # pylint: disable=unused-import … … 350 349 351 350 # Need to pull background out of resolution for multiple scattering 352 background = pars.get('background', DEFAULT_BACKGROUND) 351 default_background = self._model.info.parameters.common_parameters[1].default 352 background = pars.get('background', default_background) 353 353 pars = pars.copy() 354 354 pars['background'] = 0.
Note: See TracChangeset
for help on using the changeset viewer.