diff --git a/src/scope/utils.py b/src/scope/utils.py index aae112e..4cf2200 100644 --- a/src/scope/utils.py +++ b/src/scope/utils.py @@ -376,8 +376,8 @@ def calc_rvs(v_sys, v_sys_measured, Kp, Kstar, phases): """ v_sys_tot = v_sys + v_sys_measured # total offset rv_planet = ( - v_sys_tot + Kp * np.sin(2.0 * np.pi * phases) * 1e3 - ) # input in km/s, convert to m/s + v_sys_tot + Kp * np.sin(2.0 * np.pi * phases) + ) * 1e3 # input in km/s, convert to m/s rv_star = ( v_sys_measured - Kstar * np.sin(2.0 * np.pi * phases)