phitter.calc.rv_adj_calc#

Module Contents#

Functions#

apply_com_velocity

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.

API#

phitter.calc.rv_adj_calc.apply_com_velocity(bin_observables, com_velocity)#

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.

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.

observables

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