Changeset 9a23253e in sasview for pr_inversion/test
- Timestamp:
- Jun 30, 2008 2:18:00 PM (16 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:
- a4bd2ac
- Parents:
- 7bb61da
- Location:
- pr_inversion/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pr_inversion/test/test_output.txt
rb00b487 r9a23253e 5 5 #elapsed=0 6 6 #alpha_estimate=4.58991e-006 7 #C_0=217.876478953+- 0.03949464427868 #C_1=0.30164617344+- 0.4074129227289 #C_2=7.15694574584+- 2.7372648182810 #C_3=-0.79690812244+- 5.718364708311 #C_4=0.948333847403+-1 6.208643264212 #C_5=-0.751612279429+- 28.210889304713 #C_6=-0.0796650783501+-5 2.056830654314 #C_7=-0.518109559543+- 88.606889130915 #C_8=-0.129910831984+-1 41.717830816 #C_9=-0.258134624641+- 215.7674300987 #C_0=217.876478953+-2522.42314999 8 #C_1=0.30164617344+-226.644556603 9 #C_2=7.15694574584+-43.4919208221 10 #C_3=-0.79690812244+-25.8031634616 11 #C_4=0.948333847403+-11.3794625443 12 #C_5=-0.751612279429+-8.64083336005 13 #C_6=-0.0796650783501+-5.73820483268 14 #C_7=-0.518109559543+-3.56660274557 15 #C_8=-0.129910831984+-1.99841316045 16 #C_9=-0.258134624641+-0.756509301101 17 17 <r> <Pr> <dPr> 18 18 0 0 0 19 1.6 22.981 20.513720 3.2 91.986 78.661221 4.8 207.187 164.74122 6.4 368.819 264.12923 8 577.117 359.42724 9.6 832.224 433.16225 11.2 1134.11 470.8926 12.8 1482.46 4 64.81427 14.4 1876.63 419.08628 16 2315.57 360.69329 17.6 2797.81 353.24530 19.2 3321.46 448.35731 20.8 3884.25 611.48132 22.4 4483.6 786.46433 24 5116.72 934.55934 25.6 5780.7 1 030.7835 27.2 6472.66 1 062.2136 28.8 7189.82 1 030.2837 30.4 7929.59 955.68138 32 8689.7 883.9739 33.6 9468.17 878.87140 35.2 10263.4 977.55341 36.8 11073.9 115242 38.4 11898.7 1342.5943 40 12737 1498.344 41.6 13587.7 1587.0845 43.2 14450.2 1596.9546 44.8 15323.5 1537.9947 46.4 16206.5 1445.5848 48 17098 1379.3949 49.6 17996.3 1401.8650 51.2 18899.8 1532.0651 52.8 19806.5 1728.8652 54.4 20714.3 1927.3753 56 21620.8 2073.3954 57.6 22524 2135.2155 59.2 23421.6 2106.9756 60.8 24311.7 2011.2857 62.4 25192.3 1900.7558 64 26061.8 1848.6759 65.6 26918.7 1912.8360 67.2 27761.7 2089.9661 68.8 28589.6 2319.4862 70.4 29401.3 2527.7163 72 30195.6 2658.7664 73.6 30971.4 2685.1765 75.2 31727.2 2611.6866 76.8 32461.5 2478.0567 78.4 33172.7 2357.1968 80 33858.8 2333.8169 81.6 34517.8 2453.4370 83.2 35147.6 2684.6171 84.8 35745.9 2945.1372 86.4 36310.5 3152.1873 88 36839.5 3249.5974 89.6 37330.9 3217.0475 91.2 37783.1 3074.6176 92.8 38194.6 2886.0977 94.4 38564.3 2752.5878 96 38891.1 2773.0379 97.6 39174.1 2973.0280 99.2 39412.6 3281.6281 100.8 39605.8 3587.5982 102.4 39752.6 3795.9583 104 39851.9 3850.5684 105.6 39902.4 3741.3285 107.2 39902.5 3510.0386 108.8 39850.1 3255.5887 110.4 39743.2 3120.2588 112 39579.6 3218.6189 113.6 39356.7 3539.2690 115.2 39072.3 3954.9291 116.8 38724.1 4317.7392 118.4 38310.3 4517.0893 120 37829 4494.8694 121.6 37278.9 4251.4495 123.2 36659 3856.5896 124.8 35968.4 3465.7897 126.4 35206.6 3306.2298 128 34373 3535.9799 129.6 33466.9 4074.35100 131.2 32487.5 4693.64101 132.8 31433.4 5186.14102 134.4 30303.1 5411.6103 136 29094.1 5295.75104 137.6 27803.8 4830.98105 139.2 26428.9 4092.02106 140.8 24965.9 3287.78107 142.4 23411.1 2858.06108 144 21761.3 3246.41109 145.6 20013.4 4237.67110 147.2 18165.4 5345.59111 148.8 16216.4 6256.27112 150.4 14166.9 6786.26113 152 12019 6829.04114 153.6 9776.61 6338.91115 155.2 7445.34 5326.31116 156.8 5032.57 3854117 158.4 2547.22 2030.419 1.6 22.981 7.48836 20 3.2 91.986 29.737 21 4.8 207.187 66.1302 22 6.4 368.819 115.749 23 8 577.117 177.508 24 9.6 832.224 250.315 25 11.2 1134.11 333.205 26 12.8 1482.46 425.442 27 14.4 1876.63 526.549 28 16 2315.57 636.272 29 17.6 2797.81 754.499 30 19.2 3321.46 881.145 31 20.8 3884.25 1016.06 32 22.4 4483.6 1158.97 33 24 5116.72 1309.47 34 25.6 5780.7 1467.05 35 27.2 6472.66 1631.18 36 28.8 7189.82 1801.33 37 30.4 7929.59 1977.02 38 32 8689.7 2157.88 39 33.6 9468.17 2343.55 40 35.2 10263.4 2533.72 41 36.8 11073.9 2728.06 42 38.4 11898.7 2926.2 43 40 12737 3127.75 44 41.6 13587.7 3332.27 45 43.2 14450.2 3539.34 46 44.8 15323.5 3748.54 47 46.4 16206.5 3959.49 48 48 17098 4171.83 49 49.6 17996.3 4385.18 50 51.2 18899.8 4599.19 51 52.8 19806.5 4813.46 52 54.4 20714.3 5027.56 53 56 21620.8 5241.07 54 57.6 22524 5453.53 55 59.2 23421.6 5664.53 56 60.8 24311.7 5873.68 57 62.4 25192.3 6080.65 58 64 26061.8 6285.13 59 65.6 26918.7 6486.85 60 67.2 27761.7 6685.53 61 68.8 28589.6 6880.91 62 70.4 29401.3 7072.73 63 72 30195.6 7260.72 64 73.6 30971.4 7444.63 65 75.2 31727.2 7624.23 66 76.8 32461.5 7799.3 67 78.4 33172.7 7969.61 68 80 33858.8 8134.91 69 81.6 34517.8 8294.9 70 83.2 35147.6 8449.24 71 84.8 35745.9 8597.54 72 86.4 36310.5 8739.34 73 88 36839.5 8874.2 74 89.6 37330.9 9001.64 75 91.2 37783.1 9121.2 76 92.8 38194.6 9232.39 77 94.4 38564.3 9334.72 78 96 38891.1 9427.68 79 97.6 39174.1 9510.74 80 99.2 39412.6 9583.35 81 100.8 39605.8 9644.98 82 102.4 39752.6 9695.14 83 104 39851.9 9733.38 84 105.6 39902.4 9759.36 85 107.2 39902.5 9772.74 86 108.8 39850.1 9773.24 87 110.4 39743.2 9760.52 88 112 39579.6 9734.22 89 113.6 39356.7 9693.89 90 115.2 39072.3 9639.07 91 116.8 38724.1 9569.28 92 118.4 38310.3 9484.1 93 120 37829 9383.18 94 121.6 37278.9 9266.24 95 123.2 36659 9133 96 124.8 35968.4 8983.13 97 126.4 35206.6 8816.15 98 128 34373 8631.45 99 129.6 33466.9 8428.29 100 131.2 32487.5 8205.96 101 132.8 31433.4 7963.92 102 134.4 30303.1 7701.95 103 136 29094.1 7420.23 104 137.6 27803.8 7119.29 105 139.2 26428.9 6799.69 106 140.8 24965.9 6461.63 107 142.4 23411.1 6104.48 108 144 21761.3 5726.35 109 145.6 20013.4 5323.88 110 147.2 18165.4 4892.46 111 148.8 16216.4 4426.74 112 150.4 14166.9 3921.46 113 152 12019 3372.52 114 153.6 9776.61 2777.82 115 155.2 7445.34 2138.05 116 156.8 5032.57 1456.94 117 158.4 2547.22 741.175 -
pr_inversion/test/utest_invertor.py
rb00b487 r9a23253e 63 63 self.x_in[i] = 1.0*(i+1) 64 64 65 def test_has_bck_flag(self): 66 """ 67 Tests the has_bck flag operations 68 """ 69 self.assertEqual(self.invertor.has_bck, False) 70 self.invertor.has_bck=True 71 self.assertEqual(self.invertor.has_bck, True) 72 def doit_float(): 73 self.invertor.has_bck = 2.0 74 def doit_str(): 75 self.invertor.has_bck = 'a' 76 77 self.assertRaises(ValueError, doit_float) 78 self.assertRaises(ValueError, doit_str) 79 65 80 66 81 def testset_dmax(self): … … 177 192 # Perform inversion 178 193 out, cov = self.invertor.invert_optimize(10) 194 #out, cov = self.invertor.invert(10) 179 195 # This is a very specific case 180 196 # We should make sure it always passes
Note: See TracChangeset
for help on using the changeset viewer.