pyudv.read_mfprof.amplitude_from_UVPdata#
- amplitude_from_UVPdata(raw_data, z, GainStart, GainEnd, zend, zstart=0.00037, Nbytes=14, deltaV=5)[source]#
Correct the raw amplitude data as outut of the UVP-DUO.
- Parameters:
raw_data (scalar, array) – raw echo signal before demodulation outputted by the UVP.
z (scalar, array) – position corresponding to raw_data.
GainStart (scalar) – start absolute gain.
GainEnd (scalar) – end absolute gain.
zend (float) – Maximum measurable distance by the UVP.
zstart (float) – minimum measurable distance by the UVP (the default is 0.00037)).
Nbytes (int) – Number of bytes over which the raw data are coded (the default is 14).
deltaV (int) – Volt range corresponding to the number of bytes (the default is 5).
- Returns:
Unamplified/corrected echo signal.
- Return type:
scalar, array