def dictionary_from_array(array, parameters):
    """
    Creates a dictionary out of the arrays, assuming they represent values of
    the given parameters.
    
    Parameters
    ----------
    array : numpy.ndarray
        array whose first dimension has length `len(parameters)`
    parameters : sequence
        sequence of string parameter names to use as keys of the returned
        dictionary
    
    Returns
    -------
    dictionary : dict
        dictionary with parameters as keys and numbers from `array` as values
    """
    return {parameter: array[iparameter]\
        for (iparameter, parameter) in enumerate(parameters)}