def find_frequency_bandwidth(frequency, simulation_parameters):
    """
    Finds the correct bandwidth for a specific frequency from the
    simulation parameters.

    """
    simulation_parameter = 'channel_bandwidth_{}'.format(frequency)
    if simulation_parameter not in simulation_parameters.keys():
        KeyError('{} not specified in simulation_parameters'.format(frequency))
    bandwidth = simulation_parameters[simulation_parameter]
    return bandwidth
