def calculate_snr(rx_power, noise_power):
    """ Function that calculates SNR in dB!

    Args:
        rx_power: (numpy array) received power in dB!
        noise_power: noise power in dB!

    Returns:
        snr: (numpy array) Signal-to-Noise ratio in dB!
    """
    snr = rx_power - noise_power  # rx_power and noise_power should be in dB!
    return snr