Changeset 77e9ac6 in sasview for src/sas/sascalc/corfunc
- Timestamp:
- Jul 11, 2016 2:36:55 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- f2bbabf
- Parents:
- 3b8efec
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/07/16 05:31:01)
- git-committer:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/11/16 02:36:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/corfunc/corfunc_calculator.py
r3b8efec r77e9ac6 143 143 # better fitting curve 144 144 data = interp1d(q, iq) 145 s1 = self._Interpolator(data, lambda x: self._porod(x, fitp[0], fitp[1]),146 self.upperq[0], q[-1])145 s1 = self._Interpolator(data, 146 lambda x: self._porod(x, fitp[0], fitp[1]), self.upperq[0], q[-1]) 147 147 148 148 mask = np.logical_and(q < self.lowerq, 0 < q)
Note: See TracChangeset
for help on using the changeset viewer.