Changeset 01a26f2 in sasview
- Timestamp:
- Jul 8, 2016 5:31:35 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:
- b61bd57
- Parents:
- 2dc61c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/corfunc/corfunc_calculator.py
rfd5cfaf r01a26f2 172 172 # Returns an array where the 1st and 2nd elements are the values of k 173 173 # and sigma for the best-fit Porod function 174 k, sigma, bg= self._fit_porod(q[mask], iq[mask])175 self.background = bg174 k, sigma, _ = self._fit_porod(q[mask], iq[mask]) 175 bg = self.background 176 176 177 177 # Smooths between the best-fit porod function and the data to produce a
Note: See TracChangeset
for help on using the changeset viewer.