Changeset d6da3b1 in sasview for sansmodels/src/sans/models
- Timestamp:
- Jan 6, 2011 3:45:00 PM (14 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:
- 2ca00c4
- Parents:
- 535752b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/ReflectivityIIModel.py
r96656e3 rd6da3b1 4 4 from copy import deepcopy 5 5 from math import floor 6 from math import fabs 6 7 from scipy.special import erf 7 8 func_list = {'Erf(|nu|*z)':0, 'RPower(z^|nu|)':1, 'LPower(z^|nu|)':2, \ … … 205 206 else: 206 207 dz = self.params['thick_inter%s'% str(i-1)]/n_sub 207 nu = self.params['nu_inter%s'% str(i-1)]208 nu = fabs(self.params['nu_inter%s'% str(i-1)]) 208 209 if n_s == 0: 209 210 # shift half sub thickness for the point
Note: See TracChangeset
for help on using the changeset viewer.