diff --git a/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py b/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py index f44265e6066b7aadd7afc4f03a2a6b821d39e483..fd4e96628dc1249c893ecaa085df3a242ee0571f 100644 --- a/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py +++ b/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py @@ -93,7 +93,7 @@ class TestDelays(base.TestCase): direction = "J2000", "0deg", "0deg" # calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. - delays = d.convert(direction, antenna_itrf) + delays = d.delays(direction, antenna_itrf) self.assertListEqual(delays.tolist(), [0.0], msg=f"delays = {delays}") @@ -112,7 +112,7 @@ class TestDelays(base.TestCase): direction = "J2000", "0deg", "90deg" # calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. - delays = d.convert(direction, antenna_itrf) + delays = d.delays(direction, antenna_itrf) # check for regression self.assertAlmostEqual(-8.31467564781444e-07, delays[0], delta=1.0e-10) @@ -140,7 +140,7 @@ class TestDelays(base.TestCase): direction = "J2000", "0deg", "90deg" # calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. - delays = d.convert(direction, antenna_itrf) + delays = d.delays(direction, antenna_itrf) self.assertAlmostEqual(0.1, delays[0], 6, f"delays[0] = {delays[0]}")