import inspect


def get_unused_params(func, param_dict):
    """Return parameters in the param_dict that aren't inputs to func

    Parameters
    ----------
    func : Callable[[Any], Any]
    param_dict : Dict[str, Any]
        mapping of the string parameter name to the associated value, where
        the parameter name is as given in the func's definition.

    Returns
    -------
    Dict[str, Any] :
        parameters that aren't inputs to func
    """
    func_params = {p for p in inspect.signature(func).parameters}
    unused = set(param_dict.keys()) - func_params
    return {k: param_dict[k] for k in unused}