remove_noise

echopype.preprocess.remove_noise(ds_Sv, ping_num, range_bin_num, noise_max=None, SNR_threshold=3)

Remove noise by using estimates of background noise from mean calibrated power of a collection of pings.

Reference: De Robertis & Higginbottom. 2007. A post-processing technique to estimate the signal-to-noise ratio and remove echosounder background noise. ICES Journal of Marine Sciences 64(6): 1282–1291.

Parameters:
ds_Sv : xr.Dataset

dataset containing Sv and range [m]

ping_num : int

number of pings to obtain noise estimates

range_bin_num : int

number of samples along the range_bin dimension to obtain noise estimates

noise_max : float

the upper limit for background noise expected under the operating conditions

SNR_threshold : float

acceptable signal-to-noise ratio, default to 3 dB

Returns:
The input dataset with additional variables, including
the corrected Sv (Sv_corrected) and the noise estimates (Sv_noise)