discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GRC noise source seems to give same output regard


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] GRC noise source seems to give same output regardless of seed
Date: Tue, 13 Mar 2012 11:23:05 -0400

On Tue, Mar 13, 2012 at 10:24 AM, Damian Bevan <address@hidden> wrote:
Hi Tom,

Thanks for the prompt and helpful advice. I have now tried changing the seeds on the two noise blocks to different negative values (-42 and -99), and it does indeed appear to have resolved the problem. Or having one positive (+42) and one negative (-99) also solved the problem.

I think you are right that this should be in the documentation. At the moment the documentation is very misleading, in that a) The default seed in the GRC block is 42, which is a great number, but unfortunately is positive, and b) the documentation when you click on the block says "noise_source_c(gr_noise_type_t type, float ampl, long seed = 3021) -> gr_noise_source_c_sptr", which again hints at a positive seed (i.e. of +3021).

Cheers, and thanks again.

Damian.

Damian,
Thanks for getting back to me on this. I'm going to change the documentation to explain it.

And I'm going to change the default values to 0 instead of 42/3201 since 0's as good as either of those. I don't want to set it negative, though, since that would change the output behavior of the block and someone might be relying on this for consistency in their measurements or something.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]