def n_correlated(sample_set, originals):
    return sum([originals[r].is_correlated(sample_set[r], time_reversal) for r in originals])
def n_correlated(sample_set, originals):
    return sum([originals[r].is_correlated(sample_set[r], time_reversal) for r in originals])