Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tuoyl committed Jun 9, 2024
1 parent aea7771 commit cc49756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tatpulsar/utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def met2mjd(data, telescope="fermi"):
MJDREFF = 7.4287037e-4
MJDREFI = 51910
elif telescope.lower() == "rxte":
MJDREFF = 6.96574074-04
MJDREFF = 6.96574074e-04
MJDREFI = 49353
return data/86400 + MJDREFI + MJDREFF

Expand Down Expand Up @@ -162,7 +162,7 @@ def mjd2met(data, telescope="fermi"):
MJDREFF = 7.4287037e-4
MJDREFI = 51910
elif telescope.lower() == "rxte":
MJDREFF = 6.96574074-04
MJDREFF = 6.96574074e-04
MJDREFI = 49353
return (data - MJDREFI - MJDREFF)*86400

Expand Down

0 comments on commit cc49756

Please sign in to comment.