def readHysteresisDelayfromGUI(delay, timeZero):
    """
    Read and create Hysteresis Delays from GUI. The values are given relative
    to the timezero (so -20 means 20ps before the set t0).
    The returned value is the absolute ps Delay for the setting of the stage.

    :param delay, timeZero:
    :return: delayVector
    """
    delayVector = [s.strip() for s in str(delay).split(',')]
    for idx, val in enumerate(delayVector):
        delayVector[idx] = timeZero + float(val)

    return delayVector