Skip to content

How to apply SNR to Guassian White Noise? #89

@djnotes

Description

@djnotes

I have an exercise that requires applying a guassian white noise with signal to noise ratio of 10 dB on a sine signal with amp=1, sampling rate=1 Hz, duration=1 and freq=3 Hz.
The question then requests application of some filtering with cut-off and moving average.

The guassian noise implementation in thinkdsp does not take a SNR parameter. I didn't find anything signal to noise ratio in the book. Is it possible to solve this problem using thinkdsp and Python?

noise = thinkdsp.UncorrelatedGaussianNoise()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions