def range_resolution(num_adc_samples, dig_out_sample_rate=2500,
    freq_slope_const=60.012):
    """ Calculate the range resolution for the given radar configuration

    Args:
        num_adc_samples (int): The number of given ADC samples in a chirp
        dig_out_sample_rate (int): The ADC sample rate
        freq_slope_const (float): The slope of the freq increase in each chirp

    Returns:
        tuple [float, float]:
            range_resolution (float): The range resolution for this bin
            band_width (float): The bandwidth of the radar chirp config
    """
    light_speed_meter_per_sec = 299792458
    freq_slope_m_hz_per_usec = freq_slope_const
    adc_sample_period_usec = 1000.0 / dig_out_sample_rate * num_adc_samples
    band_width = freq_slope_m_hz_per_usec * adc_sample_period_usec * 1000000.0
    range_resolution = light_speed_meter_per_sec / (2.0 * band_width)
    return range_resolution, band_width
