- Timestamp:
- Mar 24, 2015 10:42:33 PM (10 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:
- f71700b
- Parents:
- dea2f6e (diff), 9f7fbd9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/pr_inversion/test/test_output.txt
r8a428fc r9f7fbd9 3 3 #alpha=0.0007 4 4 #chi2=836.797 5 #elapsed=0.00 1999865 #elapsed=0.000377893 6 6 #qmin=None 7 7 #qmax=None -
test/sasfit/test/utest_fit_smeared.py
refa5e44 r9f7fbd9 165 165 def test_slit(self): 166 166 smear = smear_selection(self.data_slit) 167 self.assertEqual(smear.__class__.__name__, 'SlitSmearer') 167 #self.assertEqual(smear.__class__.__name__, 'SlitSmearer') 168 self.assertEqual(smear.__class__.__name__, 'PySlitSmearer') 168 169 169 170 fitter = Fit('bumps') … … 181 182 182 183 result1, = fitter.fit() 183 184 184 185 #print "v",result1.pvec 185 186 #print "dv",result1.stderr 186 187 #print "chisq(v)",result1.fitness 187 188 self.assertTrue( math.fabs(result1.pvec[0]-2340) < 20 ) 189 self.assertTrue( math.fabs(result1.pvec[1]-0.010) < 0.002 ) 188 189 numpy.testing.assert_allclose(result1.pvec, [2323.466,0.22137], rtol=0.001) 190 190 191 191 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.