Skip to content

Commit 2430018

Browse files
committed
Don't use Parkes, it needs TEMPO2
1 parent 82bac0e commit 2430018

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

tests/datafile/parkes.toa

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# These are Parkes format and have been changed to also be Parkes observatory
2-
PUPPI_J2044+28_58852_652 432.3420 58852.7590686063892 0.00 120.75 7
3-
PUPPI_J2044+28_58852_679 1433.237 58852.7921241426833 0.00 248.48 7
4-
PUPPI_J2044+28_58882_586 432.3420 58882.6825930247209 0.00 219.67 7
5-
PUPPI_J2044+28_58968_366 432.3430 58968.4254960153599 0.00 167.32 7
6-
PUPPI_J2044+28_58970_343 431.9220 58970.4001441717446 0.00 136.16 7
7-
PUPPI_J2044+28_58974_334 431.9220 58974.3901323879601 0.00 132.61 7
8-
PUPPI_J2044+28_58981_310 431.9220 58981.3623757223578 0.00 154.07 7
9-
PUPPI_J2044+28_59000_285 431.9220 59000.3318112360150 0.00 180.83 7
2+
PUPPI_J2044+28_58852_652 432.3420 58852.7590686063892 0.00 120.75 @
3+
PUPPI_J2044+28_58852_679 1433.237 58852.7921241426833 0.00 248.48 @
4+
PUPPI_J2044+28_58882_586 432.3420 58882.6825930247209 0.00 219.67 @
5+
PUPPI_J2044+28_58968_366 432.3430 58968.4254960153599 0.00 167.32 @
6+
PUPPI_J2044+28_58970_343 431.9220 58970.4001441717446 0.00 136.16 @
7+
PUPPI_J2044+28_58974_334 431.9220 58974.3901323879601 0.00 132.61 @
8+
PUPPI_J2044+28_58981_310 431.9220 58981.3623757223578 0.00 154.07 @
9+
PUPPI_J2044+28_59000_285 431.9220 59000.3318112360150 0.00 180.83 @

tests/test_toa_reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def setUp(self):
4545

4646
def test_read_parkes(self):
4747
ts = toa.get_TOAs("parkes.toa")
48-
assert "parkes" in ts.observatories
48+
assert "barycenter" in ts.observatories
4949
assert ts.ntoas == 8
5050

5151
def test_commands(self):
@@ -158,4 +158,3 @@ def test_toa_merge():
158158
toas[0].ephem = "DE436"
159159
with pytest.raises(TypeError):
160160
nt = toa.merge_TOAs(toas)
161-

0 commit comments

Comments
 (0)