def select_params(input_dict, profile_prefix):
    """
    Get just the parameters and values for a given profile prefix.

    Args:
        input_dict (dict): the dictionary to search
        profile_prefix (str): i.e. "PLANE_1-OBJECT_2-LIGHT_PROFILE_1-"

    Returns:
        parameter dictionary for profile
    """
    params = [k for k in input_dict.keys() if k[0:len(profile_prefix)] == profile_prefix]
    return {x.split('-')[-1]: input_dict[x] for x in params if x[-4:] != 'NAME'}