# estimate_noise

echopype.clean. estimate_noise ds_Sv ping_num range_sample_num noise_max=None

Estimate background noise by computing mean calibrated power of a collection of pings.

See `remove_noise` for reference.

Parameters

- ds_Sv : xr.Dataset

  dataset containing `Sv` and `echo_range` [m]

- ping_num : int

  number of pings to obtain noise estimates

- range_sample_num : int

  number of samples along the `range_sample` dimension to obtain noise estimates

- noise_max : float

  the upper limit for background noise expected under the operating conditions

Returns

- A DataArray containing noise estimated from the input ds_Sv