Re: fakeit and random seed

From: John Houck <houck_at_email.domain.hidden>
Date: Mon, 23 Mar 2009 16:16:17 -0400
On Mon, Mar 23, 2009 at 16:05 -0400, Maurice Leutenegger wrote:
> I am wondering about the randomization properties of fakeit. As far as I 
> can tell, if I invoke fakeit with no argument, I will always get the 
> same "random" spectrum, unless I first use seed_random () to set the 
> random number generator. Does this sound right? 


> Is it the expected behavior? 

Yes.  Starting with the same random seed makes debugging

> Is there a way to get variable random noise in fakeit (or
> otherwise) without explicitly setting the seed myself?

You could use the current time to seed the random number
generator in your $HOME/.isisrc file:

  seed_random (_time);

This should give you a different random sequence every
time you start isis.

You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
Received on Mon Mar 23 2009 - 16:16:18 EDT

This archive was generated by hypermail 2.2.0 : Tue Jul 07 2009 - 21:11:32 EDT