def multitrial(num_trials, skipstep=1):
    for t in range(0, num_trials, skipstep):
        testset = [t]
        trainset = [i for i in range(testset[0])] + \
                   [i for i in range(testset[-1] + 1, num_trials)]
        trainset = sort([t % num_trials for t in trainset])
        yield trainset, testset
String representation of a process.
dataset/ETHPy150Open scot-dev/scot/scot/xvschema.py/multitrial--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/process.py/_BaseProcess.__repr__