rv_adj_calc

Module Contents

Functions

apply_com_velocity(bin_observables, com_velocity)

Modeled observables are calculated with a center of mass velocity of 0 km/s.

rv_adj_calc.apply_com_velocity(bin_observables, com_velocity)[source]

Modeled observables are calculated with a center of mass velocity of 0 km/s. This function allows applying a constant center of mass velocity to RVs.

Parameters:
bin_observablesobservables

observables object containing RVs to which to apply center of mass velocity.

com_velocityAstropy Quantity, velocity unit

Binary system’s center of mass velocity.

Returns:
observables

observables object, where RVs have center of mass velocity added.