original_docstring: Creates a half-gauss ramp
docstring: Creates a half-gauss ramp
docstring_tokens: Creates a half - gauss ramp
code: def HalfGaussRamp(t, duration, a, b, Width):
      """Creates a half-gauss ramp"""
      y = exp(-(duration ** 2) / Width ** 2)
      y = (a - b * y) / (1 - y) + ((b - a) / (1 - y)) * exp(-((t - duration) ** 2) / Width ** 2)
      return y
code_tokens: def HalfGaussRamp ( t , duration , a , b , Width ) : y = exp ( - ( duration ** 2 ) / Width ** 2 ) y = ( a - b * y ) / ( 1 - y ) + ( ( b - a ) / ( 1 - y ) ) * exp ( - ( ( t - duration ) ** 2 ) / Width ** 2 ) return y
short_docstring: Creates a half-gauss ramp
short_docstring_tokens: Creates a half - gauss ramp
comment: """Creates a half-gauss ramp"""