-
Notifications
You must be signed in to change notification settings - Fork 30
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
"Writing a Plugin Model" does not explain function "random" (Trac #1108) #178
Comments
Trac update at
Can you elaborate please? I just looked at the documentation and it seems pretty clearly explained (though I have not run
To see all the help it may give as suggested. However to note that "random" is not a !SasView function at all but a parameter in the compare framework used for testing models. I think it just calls the built in random number generator to create values for the model parameters within what should be generically "reasonable" bounds for a given parameter type as explained in the documentation:
A better indication of what is confusing and how to make it more clear to a first time model developer would be helpful and very welcome.
to:
|
Trac update at I think the question is what the The This description, along with an updated summary of _randomize_one() should be included in sasmodels/doc/guide/plugins.rst. Should we describe the reasons for the choice of distributions I used when writing all the random functions (uniform, 10^uniform^, and beta)? |
Trac update at Have just added this definition of random() (word for word) to the bottom of the Model Computation section in plugin.rst |
Trac update at Ahh. It seems that after addressing this ticket, I forgot to close it! :-) |
Trac update at
|
Each !SasView seems to contain a function "random", on a par with "Iq".
However, I find no explanation of this function on the otherwise well
written and informative page "Writing a Plugin Model" [1].
Could you please point me to an existing explanation of "random", or
briefly improvise such explanation?
Thanks, Joachim
[1] http://www.sasview.org/docs/user/sasgui/perspectives/fitting/plugin.html
Migrated from http://trac.sasview.org/ticket/1108
The text was updated successfully, but these errors were encountered: