Changes in / [1657e21:a5516b1] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/guide/plugin.rst
r2015f02 rf796469 423 423 calculations, but instead rely on numerical integration to compute the 424 424 appropriately smeared pattern. 425 426 Each .py file also contains a function::427 428 def random():429 ...430 431 This function provides a model-specific random parameter set which shows model432 features in the USANS to SANS range. For example, core-shell sphere sets the433 outer radius of the sphere logarithmically in `[20, 20,000]`, which sets the Q434 value for the transition from flat to falling. It then uses a beta distribution435 to set the percentage of the shape which is shell, giving a preference for very436 thin or very thick shells (but never 0% or 100%). Using `-sets=10` in sascomp437 should show a reasonable variety of curves over the default sascomp q range.438 The parameter set is returned as a dictionary of `{parameter: value, ...}`.439 Any model parameters not included in the dictionary will default according to440 the code in the `_randomize_one()` function from sasmodels/compare.py.441 425 442 426 Python Models
Note: See TracChangeset
for help on using the changeset viewer.