

def pair_similar(dic1, data1, dic2, data2, verb=False, atol=ATOL, rtol=RTOL, dtol=DTOL, ignore_pipe_display=False):
    '\n    Check a dic, data pair against a second dic, data pair for differences.\n\n    Parameters\n    ----------\n    dic1 : dict\n        First dictionary of NMR parameters.\n    data1 : ndarray\n        First array of NMR data\n    dic2 : dict\n        Second dictionary of NMR parameters\n    data2 : ndarray\n        Second array of NMR data\n    verb : bool, optional\n        Set True for verbose reporting.\n    atol : float, optional\n        The absolute tolerent parameter to pass to numpy.allclose.\n    rtol : float, optional\n        The relative tolenance parameter to pass to numpy.allclose.\n\n    Returns\n    -------\n    r1 : bool\n        True is data1 and data2 are similar, False if they differ.\n    r2 : bool\n        True is dic1 and dic2 are similar, False if they differ.\n\n    '
    r1 = isdatasimilar(data1, data2, verb, atol, rtol)
    r2 = isdicsimilar(dict(dic1), dict(dic2), verb, dtol, ignore_pipe_display=ignore_pipe_display)
    return (r1, r2)

dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/util/misc.py pair_similar/original