def filter_alpha(Input_Dict):
    """
    Filter alpha parameter.

    :param Input_Dict: input parameters dictionary
    :type Input_Dict : dict
    :return: modified dictionary
    """
    try:
        if Input_Dict['alpha'] > 1:
            Input_Dict['alpha'] = 1
            print(
                '[Warning] Opem Automatically Set Alpha To Maximum Value (1) ')
        elif Input_Dict['alpha'] < 0:
            Input_Dict['alpha'] = 0
            print(
                '[Warning] Opem Automatically Set Alpha To Maximum Value (0) ')
        return Input_Dict
    except Exception:
        return Input_Dict
