Skip to content

Commit

Permalink
Recessional velocity consistent with redshift
Browse files Browse the repository at this point in the history
  • Loading branch information
kmhess committed Jun 6, 2024
1 parent 0687fca commit 15c6ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ def line_lookup(spec_line):
rad_opt = 'Optical'
elif spec_line == 'CO':
restfreq_line = 115.27120180 * u.GHz
convention = u.doppler_radio(restfreq_line)
rad_opt = 'Radio'
convention = u.doppler_optical(restfreq_line)
rad_opt = 'Optical'
else:
print("ERROR: Unrecognized spectral line. Try 'HI' or 'CO'.")
exit()
Expand Down

0 comments on commit 15c6ceb

Please sign in to comment.