Changes between Initial Version and Version 1 of Ticket #1108


Ignore:
Timestamp:
Jun 7, 2018 4:03:01 AM (6 years ago)
Author:
butler
Comment:

Can you elaborate please? I just looked at the documentation and it seems pretty clearly explained (though I have not run

main()

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:

Options will need to be passed as separate strings. For example to run your model
with a random set of parameters:

main("-random", "-pars", "~/.sasview/plugin_models/model.py")

For the random models,
   sld will be in the range (-0.5,10.5),
   angles (theta, phi, psi) will be in the range (-180,180),
   angular dispersion will be in the range (0,45),
   polydispersity will be in the range (0,1)
   other values will be in the range (0, 2v), where v is the value of the parameter in demo.

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1108 – Description

    initial v1  
    1 Each SasView seems to contain a function "random", on a par with "Iq". 
     1Each !SasView seems to contain a function "random", on a par with "Iq". 
    22 
    33However, I find no explanation of this function on the otherwise well