S5.HPC.optimisation#

Functions

calc_strat(driver, c, v_bar, x[, clip])

scale the target velocity to c with mean v_bar and profile driver

calc_strat_new(driver, c, v_bar, x[, clip])

scale the target velocity to c with mean v_bar and profile driver

extract_prime(vel, x, n)

set_mean(vel, v_bar, x, n[, clip])

adjust the mean velocity :param vel: array of velocity :param v_bar: target mean velocity :param x: distnance correcponding to the velocity points :param n: precision in decimal points :param clip: clipping to reduce spikes, None, "kph", or "ms"