Changeset 5878a9ea in sasview for src/sas/sascalc
- Timestamp:
- Jul 12, 2016 6:34:57 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:
- e73e723
- Parents:
- 815f7b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/corfunc/corfunc_calculator.py
r8bdc103 r5878a9ea 67 67 self.lowerq = lowerq 68 68 self.upperq = upperq 69 self.background = 069 self.background = self.compute_background() 70 70 self._transform_thread = None 71 71 … … 99 99 if self._data is None: return 0 100 100 elif upperq is None and self.upperq is not None: upperq = self.upperq 101 elif upperq == 0: return 0101 elif upperq is None and self.upperq is None: return 0 102 102 q = self._data.x 103 103 mask = np.logical_and(q > upperq[0], q < upperq[1])
Note: See TracChangeset
for help on using the changeset viewer.