def dict_pack (d_files, d_names, d_crop, d_inftemp, d_temp, d_plate):
    """
    Function is used within the auto_crop function to  crop using the inputs
    given by the user.

    Parameters:
    -----------
    d_files : dictonary
        contains the raw file in the requested folder

    d_names : dictonary
        Contains all the names of the files in the requested folder

    d_crop : dictonary
        Contains the cropped versions of the files in the folder

    d_inftemp : dictonary
        Contins all of the inflection points of the files in the folder

    Returns
    --------
    d_all : dictonary
        Nested dictionary of all of the needed dictonary

    """
    d_all = {'d_files' : d_files, 'd_names' : d_names, 'd_crop' : d_crop, 'd_inftemp': d_inftemp, 'd_temp' : d_temp, 'd_plate' : d_plate}

    return d_all