def rx_channel_phase_bias_compensation(rx_channel_compensations, input,
    num_antennas):
    """Compensation of rx channel phase bias.

    Args:
        rx_channel_compensations: rx channel compensation coefficient.
        input: complex number.
        num_antennas: number of symbols.
    """
    azimuth_values = input[:num_antennas]
    rx_channel_compensations_values = rx_channel_compensations[:num_antennas]
    Re = rx_channel_compensations_values * (azimuth_values.imag -
        azimuth_values.real)
    Im = rx_channel_compensations_values * (azimuth_values.imag +
        azimuth_values.real)
    input[:num_antennas] = Re + 1.0j * Im
    return
