Changeset 839e5e3 in sasview for test/corfunc
- Timestamp:
- Aug 23, 2016 4:27:34 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:
- acefa2b
- Parents:
- 204f628
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/corfunc/test/utest_corfunc.py
r0bc0683 r839e5e3 19 19 20 20 def extrapolate(self): 21 extrapolation = self.calculator.compute_extrapolation()21 _, extrapolation = self.calculator.compute_extrapolation() 22 22 23 23 # Ensure the extraplation tends to the background value … … 62 62 self.assertEqual(len(params), 6) 63 63 self.assertLess(abs(params['max']-75), 2.5) # L_p ~= 75 64 self.assertLess(abs(params['dtr']-6), 2.5) # D_tr ~= 665 64 66 65
Note: See TracChangeset
for help on using the changeset viewer.