The signal changes from s_ini to s_fin at time t_change with a transition duration t_duration. The transition function is a hyperbolic tangent.