shape = tf.math.erf((t - t_up) / risefall) * tf.math.erf((-t + t_down) / risefall)