Changeset 1352c78 in sasview
- Timestamp:
- Dec 20, 2011 5:22:26 PM (13 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:
- 7c8d3093
- Parents:
- 4c5448c
- Location:
- sansmodels/src/sans/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/ReflectivityIIModel.py
r0145a25 r1352c78 27 27 self.name = "ReflectivityIIModel" 28 28 self.description=model.description 29 self.n_layers = multfactor29 self.n_layers = int(multfactor) 30 30 ## Define parameters 31 31 self.params = {} … … 183 183 """ 184 184 # max_pts for each layers 185 n_sub = self.params['npts_inter']185 n_sub = int(self.params['npts_inter']) 186 186 z = [] 187 187 beta = [] 188 sub_range = floor(n_sub/2.0)188 sub_range = int(floor(n_sub/2.0)) 189 189 z.append(0) 190 190 beta.append(self.params['sld_bottom0']) -
sansmodels/src/sans/models/ReflectivityModel.py
r0145a25 r1352c78 25 25 self.name = "ReflectivityModel" 26 26 self.description=model.description 27 self.n_layers = multfactor27 self.n_layers = int(multfactor) 28 28 ## Define parameters 29 29 self.params = {} … … 176 176 z = [] 177 177 beta = [] 178 sub_range = floor(n_sub/2.0)178 sub_range = int(floor(n_sub/2.0)) 179 179 z.append(0) 180 180 beta.append(self.params['sld_bottom0'])
Note: See TracChangeset
for help on using the changeset viewer.