def make_slist(l, t_sizes):
    out = []  # output
    start = 0
    for s in t_sizes:
        out.append(l[start:start + s])
        start = start + s
    return out
Create a list of tuples of given sizes from a list
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/analysis/linesh.py/make_slist