Changeset 7b9e4dd in sasmodels for sasmodels/modelinfo.py
- Timestamp:
- Aug 15, 2018 4:15:36 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:
- 6e45516
- Parents:
- d089a00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
r1711569 r7b9e4dd 45 45 # Note that scale and background cannot be coordinated parameters whose value 46 46 # depends on the some polydisperse parameter with the current implementation 47 DEFAULT_BACKGROUND = 1e-3 47 48 COMMON_PARAMETERS = [ 48 49 ("scale", "", 1, (0.0, np.inf), "", "Source intensity"), 49 ("background", "1/cm", 1e-3, (-np.inf, np.inf), "", "Source background"),50 ("background", "1/cm", DEFAULT_BACKGROUND, (-np.inf, np.inf), "", "Source background"), 50 51 ] 51 52 assert (len(COMMON_PARAMETERS) == 2
Note: See TracChangeset
for help on using the changeset viewer.