def integratedAutocorrelationTime(A_n, B_n=None, fast=False, mintime=3):
    """Estimate the integrated autocorrelation time.

    See Also
    --------
    statisticalInefficiency

    """

    g = statisticalInefficiency(A_n, B_n, fast, mintime)
    tau = (g - 1.0) / 2.0
    return tau
Estimate the integrated autocorrelation time.

    See Also
    --------
    statisticalInefficiency