Skip to content
Snippets Groups Projects
Commit b6d35a31 authored by Stefano Di Frischia's avatar Stefano Di Frischia Committed by Corné Lukken
Browse files

L2SS-572: fix typos

parent 964ab66b
No related branches found
No related tags found
1 merge request!396Resolve L2SS-572 "Refactor delays"
...@@ -93,7 +93,7 @@ class TestDelays(base.TestCase): ...@@ -93,7 +93,7 @@ class TestDelays(base.TestCase):
direction = "J2000", "0deg", "0deg" direction = "J2000", "0deg", "0deg"
# calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. # 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}") self.assertListEqual(delays.tolist(), [0.0], msg=f"delays = {delays}")
...@@ -112,7 +112,7 @@ class TestDelays(base.TestCase): ...@@ -112,7 +112,7 @@ class TestDelays(base.TestCase):
direction = "J2000", "0deg", "90deg" direction = "J2000", "0deg", "90deg"
# calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. # 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 # check for regression
self.assertAlmostEqual(-8.31467564781444e-07, delays[0], delta=1.0e-10) self.assertAlmostEqual(-8.31467564781444e-07, delays[0], delta=1.0e-10)
...@@ -140,7 +140,7 @@ class TestDelays(base.TestCase): ...@@ -140,7 +140,7 @@ class TestDelays(base.TestCase):
direction = "J2000", "0deg", "90deg" direction = "J2000", "0deg", "90deg"
# calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. # 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]}") self.assertAlmostEqual(0.1, delays[0], 6, f"delays[0] = {delays[0]}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment