mixsea.helpers.calc_shear

mixsea.helpers.calc_shear(u, depth)[source]

Calculate vertical shear from velocity data.

Parameters:
  • u (array-like) – Velocity data.

  • depth (array-like) – Depth vector.

Returns:

Vertical shear at depths of depth.

Return type:

array-like