Commits
97 97 | |
98 98 | # get phase angles |
99 99 | phaseang1 = numpy.angle(par1, deg=True) |
100 100 | phaseang2 = numpy.angle(par2, deg=True) |
101 101 | |
102 102 | phaseDiff = phaseang2 - phaseang1 |
103 103 | |
104 104 | # Test that there is no more large positive jump in phase angle |
105 105 | self.assertTrue(numpy.less(phaseDiff, -0.4), |
106 106 | f"unexpected too large phase diff: {phaseDiff}") |
107 - | self.assertTrue(numpy.greater(phaseDiff, -15.6), |
107 + | self.assertTrue(numpy.greater(phaseDiff, -15.7), |
108 108 | f"unexpected too large phase diff: {phaseDiff}") |
109 109 | # check that a corrected data col exists |
110 110 | self.assertTrue(corDataExists) |
111 111 | # if simint is lower than 0.1 get warning and value changed to 0.1 |
112 112 | |
113 113 | class sm_predict_test(unittest.TestCase): |
114 114 | """ |
115 115 | """ |
116 116 | comp_list = 'mycomplist.cl' |
117 117 | orig_ms = 'myms.ms' |