Changeset 9454a27 in sasview for src/sas/sascalc/corfunc
- Timestamp:
- Jul 11, 2016 4: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:
- 275b448
- Parents:
- 688d029
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/08/16 05:31:35)
- git-committer:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/11/16 04:36:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/corfunc/corfunc_calculator.py
r6970e51 r9454a27 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.