bruges.noise.noise module

Noise.

copyright:2015 Agile Geoscience
license:Apache 2.0
bruges.noise.noise.noise_db(a, snr)[source]

Takes an array of seismic amplitudes and SNR in dB.

Args:
a (array) : seismic amplitude array. snr (int): signal to noise ratio.

Returns: Noise array, the same shape as the input.

Note: it does not return the input array with the noise added.