-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for user-input random seed #164
Comments
Because This is a legacy way to seed the RNG. There's a newer way to do this as of Numpy 1.17 using There are two places where we use a RNG, pulse generation ( Implementing seeding the "right" way is beyond the scope of the JOSS review, but we should do it eventually. Getting the desired RNG infrastructure in place, will give an example for how contributors should implement RNG methods for other use cases. |
@paulthebaker Am I interpreting this correctly to understand that, at least in regards to the JOSS review, this is in my court? I'm working on the docs, so this is easy for me to do. |
I added the following Markdown cell at the end of each tutorial: Note about randomly generated pulses and noise
|
There are a few modules (
pulsar.pulsar
,utils.utils
,telescope.receiver
) where either thenumpy.random
module is explicitly called or samples are drawn from a normal distribution. In the interest of reproducibility (or exploring the effects of random noise on final results), I recommend allowing for user-input random seeds to initialize any random processes used. I would not consider implementation of this necessary for JOSS acceptance, but I would recommend a brief acknowledgment of plots in documentation not being exactly reproducible due to random processes.This issue is part of my JOSS review.
The text was updated successfully, but these errors were encountered: