doppler_optical¶
-
Astronomy.redshift.
doppler_optical
(rel_freq, f_ref)¶ Returns the Doppler shift for a frequency offset by the optical convention
:param rel_freq : frequency offset from the reference frequency :type rel_freq : float or nparray of float
:param f_ref : reference frequency :type f_ref : float
- Returns
float