Changeset fa79f5c in sasmodels for example/sesans_sphere_2micron.py
- Timestamp:
- Nov 29, 2017 8:43:12 AM (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:
- a839b22
- Parents:
- 32398dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
example/sesans_sphere_2micron.py
r3330bb4 rfa79f5c 1 1 """ 2 This is a data file 2 This is a data file used to load in sesans data and fit it using the bumps engine 3 3 """ 4 4 from bumps.names import * … … 38 38 # Constraints 39 39 # model.param_name = f(other params) 40 # EXAMPLE: model.scale = model.radius*model.radius*(1 - phi) - where radius and scale are model functions and phi is41 # a custom parameter40 # EXAMPLE: model.scale = model.radius*model.radius*(1 - phi) - where radius 41 # and scale are model functions and phi is a custom parameter 42 42 model.scale = phi*(1-phi) 43 43 … … 45 45 # DO NOT MODIFY THIS LINE 46 46 problem = sesansfit.sesans_fit(sesans_file, model, initial_vals, custom_params, param_range) 47
Note: See TracChangeset
for help on using the changeset viewer.