S5.HPC.optimisation.set_mean#

S5.HPC.optimisation.set_mean(vel, v_bar, x, n, clip=None)[source]#

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”