Changes between Version 11 and Version 12 of ModelConvInst


Ignore:
Timestamp:
Nov 19, 2015 10:59:16 AM (9 years ago)
Author:
smk78
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModelConvInst

    v11 v12  
    11'''Introduction''' 
    22 
    3 In the new sasmodels package [https://gihub.com/SasView/sasmodels] there are three ways of writing models: 
     3In the new sasmodels package [https://github.com/SasView/sasmodels] there are three ways of writing models: 
    44- As a pure python model : Example - [https://github.com/SasView/sasmodels/blob/master/sasmodels/models/broad_peak.py broadpeak.py] 
    55- As a python model with embedded C : Example - [https://github.com/SasView/sasmodels/blob/master/sasmodels/models/sphere.py sphere.py] 
     
    3434- parameters = [["name", "units", default, [min,max], "type", "tooltip"],...]. This is where the parameters get defined.  The syntax should be obvious from the default.  Copy the parameters from the model header file [https://github.com/SasView/sasview/tree/master/src/sas/models/include srs/sas/models/include] 
    3535 - PARAMETER NAMES:  VERY IMPORTANT.  We are trying to make the model parameter more consistent between models.  So solvent sld for example should have exactly the same name in every model.  Current list of new parameters is: 
     36  - bkgd = background 
    3637  - radius = radius 
    3738  - sld = scattering length density of particle