uwacan.analysis.required_averaging#

required_averaging(level_uncertainty, bandwidth)[source]#

Compute the required averaging time to obtain a certain uncertainty in levels.

The level uncertainty here is derived from the mean and standard deviation of the power of sampled white gaussian noise. The uncertainty is the decibel difference between one half standard deviation above the mean and one half standard deviation below the mean. This is almost the same as the standard deviation of the decibel levels.

Parameters:
level_uncertaintyfloat

The desired maximum uncertainty.

bandwidthfloat

The observed bandwidth, in Hz. For “full-band” sampled signals, this is half of the samplerate.

Returns:
averaging_timefloat

The minimum time to average.

See also

level_uncertainty

Implements the opposite computation, has documentation of formulas and full derivation.