code: def analog_linear2_ramp(ramp_data, start_time, end_time, value_final,
                         time_subarray):
      
      value_initial = ramp_data["value"]
      value_final2 = ramp_data["value_final"]
      interp = (time_subarray - start_time)/(end_time - start_time)
      return value_initial*(1.0 - interp) + value_final2*interp
docs: Use this when you want a discontinuous jump at the end of the linear ramp.