pyudv.geometry.average_amplitude#
- average_amplitude(a1, a2, probe1, probe2)[source]#
This function takes the amplitude measured by two probes and average them, assuming that it only depends on the vertical coordinate.
- Parameters:
a1 (npt.ArrayLike) – amplitude measured by first probe. The first dimension should be the same dimension as the radial coordinate contained in probe1.z.
a2 (npt.ArrayLike) – amplitude measured by second probe. The first dimension should be the same dimension as the radial coordinate contained in probe2.z.
- Return type:
- Returns:
A (ndarray) – averaged amplitud 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