Example #1
0
 def test_TDL(self):
     """
     Test tdl function - all values are taken from MatLab.
     """
     AN = [0.737298200871146, -0.668073596186761, -0.100344571703004]
     BN = [-0.178067035261159, -0.048901208638715, -0.982802524796805]
     (FT, FD, FL) = tdl(AN, BN)
     self.assertAlmostEqual(FT, 227.81994742784540)
     self.assertAlmostEqual(FD, 84.240987194376590)
     self.assertAlmostEqual(FL, 81.036627358961210)
Example #2
0
 def test_tdl(self):
     """
     Test tdl function - all values are taken from MatLab.
     """
     an = [0.737298200871146, -0.668073596186761, -0.100344571703004]
     bn = [-0.178067035261159, -0.048901208638715, -0.982802524796805]
     (ft, fd, fl) = tdl(an, bn)
     assert round(abs(ft - 227.81994742784540), 7) == 0
     assert round(abs(fd - 84.240987194376590), 7) == 0
     assert round(abs(fl - 81.036627358961210), 7) == 0
Example #3
0
 def test_TDL(self):
     """
     Test tdl function - all values are taken from MatLab.
     """
     AN = [0.737298200871146, -0.668073596186761, -0.100344571703004]
     BN = [-0.178067035261159, -0.048901208638715, -0.982802524796805]
     (FT, FD, FL) = tdl(AN, BN)
     self.assertAlmostEqual(FT, 227.81994742784540)
     self.assertAlmostEqual(FD, 84.240987194376590)
     self.assertAlmostEqual(FL, 81.036627358961210)
Example #4
0
 def test_tdl(self):
     """
     Test tdl function - all values are taken from MatLab.
     """
     an = [0.737298200871146, -0.668073596186761, -0.100344571703004]
     bn = [-0.178067035261159, -0.048901208638715, -0.982802524796805]
     (ft, fd, fl) = tdl(an, bn)
     self.assertAlmostEqual(ft, 227.81994742784540)
     self.assertAlmostEqual(fd, 84.240987194376590)
     self.assertAlmostEqual(fl, 81.036627358961210)