Changeset d12f294 in sasview for sansdataloader/test/utest_averaging.py
- Timestamp:
- Apr 5, 2013 10:40:55 AM (12 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:
- 2b76f98
- Parents:
- 3cf73ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansdataloader/test/utest_averaging.py
rb517792 rd12f294 140 140 141 141 r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) 142 s, ds = r(self.data)142 s, ds, npoints = r(self.data) 143 143 self.assertAlmostEqual(s, 34.278990899999997, 4) 144 144 self.assertAlmostEqual(ds, 7.8007981835194293, 4) 145 self.assertAlmostEqual(npoints, 324.0000, 4) 145 146 146 147 r = Boxavg(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015)
Note: See TracChangeset
for help on using the changeset viewer.