def epc_calc_bin_mode(reg_dict):
    """
    Get the current binning modes 

    Parameters
    ----------
    reg_dict : dict
        The dictionary that contains all the register information

    Returns
    ----------
    bool 
        Row binning mode
    bool
        Column binning mode 
    """
    bin_mode = reg_dict["bin_mode"][2]
    col_bin = bool(bin_mode & 0x01)
    row_bin = bool(bin_mode & 0x02)
    return row_bin, col_bin