pyudv.geometry.reconstruct_velocity#

reconstruct_velocity(u1, u2, probe1, probe2)[source]#

This function takes the velocities measured by two probes, and reconstruct the velocity field, assuming that it only depends on the vertical coordinate.

Parameters:
  • u1 (ArrayLike) – velocity vector measured by first probe. The first dimension should be the same dimension as the radial coordinate contained in probe1.z.

  • u2 (ArrayLike) – velocity vector measured by second probe. The first dimension should be the same dimension as the radial coordinate contained in probe2.z.

  • probe1 (Probe) – First Probe object.

  • probe2 (Probe) – Second Probe object.

Return type:

tuple[ndarray, ndarray, ndarray, ndarray, ndarray, ndarray]

Returns:

  • U (ndarray) – reconstructed velocity components in the coordinate system corresponding to the one of the reference points of the probes.

  • z_interp (ndarray) – coordinate vector corresponding to U

  • X (ndarray) – crossing point of the probes

  • dx_1 (ndarray) – horizontal distance between the first probe beam, and the vertical axis passing by the crossing point X

  • dx_2 (ndarray) – horizontal distance between the second probe beam, and the vertical axis passing by the crossing point X

Examples using pyudv.geometry.reconstruct_velocity#

Probes and velocity reconstruction

Probes and velocity reconstruction