def narrow(checked, DASHRlut):
    """Returns dictionary mapping selected DASHRs to local drives.

    :param checked: array of integer pins
    :param DASHRlut: dictionary mapping of all locally detected DASHRs
    :returns: dictionary mapping only user-selected DASHRs
    """
    for_harvest = {}
    for pin in checked:
        if pin in DASHRlut:
            for_harvest[pin] = DASHRlut[pin]
    return for_harvest