

@transform_sequence
def stretch(multiplier, point):
    point[OFFSET_64] = int((point[OFFSET_64] * multiplier))
    if (DURATION_64 in point):
        point[DURATION_64] = int((point[DURATION_64] * multiplier))
    return point

dataset/ETHPy150Open jtauber/sebastian/sebastian/core/transforms.py stretch/original