def epc_calc_binning(reg_dict):
    """
    Calculates the row and column binning values 
    nrows = (rows) /(1 << binning)
    ncols = (cols) /(1 << binning) 

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

    Returns 
    ----------
    int
        The row binning settings
    int 
        The column binning settings 
    """
    return reg_dict["row_rudy"][2], reg_dict["col_rudx"][2]