Changeset 318b5bbb in sasview for fittingview/src/sans/perspectives/fitting/plugin_models
- Timestamp:
- Dec 18, 2012 10:55:24 AM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6550b64
- Parents:
- 0203ade
- Location:
- fittingview/src/sans/perspectives/fitting/plugin_models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/plugin_models/sum_Ap1_1_Ap2.py
r4ce74b44 r318b5bbb 63 63 ## Parameter details [units, min, max] 64 64 self.details = {} 65 ## Magnetic Panrameters 66 self.magnetic_params = [] 65 67 66 68 # non-fittable parameters … … 97 99 if not new_item in self.orientation_params: 98 100 self.orientation_params.append(new_item) 101 ## magnetic params 102 for item in self.p_model1.magnetic_params: 103 new_item = "p1_" + item 104 if not new_item in self.magnetic_params: 105 self.magnetic_params.append(new_item) 106 107 for item in self.p_model2.magnetic_params: 108 new_item = "p2_" + item 109 if not new_item in self.magnetic_params: 110 self.magnetic_params.append(new_item) 99 111 # set multiplicity 1: muti_func Not supported. 100 112 multiplicity1 = 1 -
fittingview/src/sans/perspectives/fitting/plugin_models/sum_p1_p2.py
r4ce74b44 r318b5bbb 91 91 self._set_details() 92 92 self.details['scale_factor'] = ['', None, None] 93 93 ## Magnetic Panrameters 94 self.magnetic_params = [] 94 95 95 96 #list of parameter that can be fitted … … 105 106 if not new_item in self.orientation_params: 106 107 self.orientation_params.append(new_item) 108 ## magnetic params 109 for item in self.p_model1.magnetic_params: 110 new_item = "p1_" + item 111 if not new_item in self.magnetic_params: 112 self.magnetic_params.append(new_item) 113 114 for item in self.p_model2.magnetic_params: 115 new_item = "p2_" + item 116 if not new_item in self.magnetic_params: 117 self.magnetic_params.append(new_item) 107 118 # set multiplicity 1: muti_func Not supported. 108 119 multiplicity1 = 1
Note: See TracChangeset
for help on using the changeset viewer.