[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] patch to fix noise seed in channel model
From: |
Alick Zhao |
Subject: |
[Discuss-gnuradio] patch to fix noise seed in channel model |
Date: |
Fri, 02 Nov 2012 20:06:04 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
Hi list,
I recently find that the noise seed block needs negative seed for
gaussian and uniform distributions. The commit 0d6871b3 has provided
documentation for this and also changed the seed in noise seed from
positive value to 0 to avoid misleading. However, the seed value in
channel model block hasn't been updated. And in some python scripts,
we use `randint(0, 100000)` as the seed. This is misleading and doesn't
give what we want.
I attach a patch to address the issue.
--
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick
0001-fix-noise-seed-in-channel_model.patch
Description: Text Data
- [Discuss-gnuradio] patch to fix noise seed in channel model,
Alick Zhao <=