mhostetter / sdr

A Python package for software-defined radio
https://mhostetter.github.io/sdr/
MIT License
40 stars 4 forks source link

Real signal noise issue? #328

Open mhostetter opened 5 months ago

mhostetter commented 5 months ago

Is it rng.normal(size=trials, scale=np.sqrt(n0 / 2)) or rng.normal(size=trials, scale=np.sqrt(n0))?

mhostetter commented 4 months ago

For real signals, the noise variance is n0/2. There's probably a bug somewhere, then.