Changes between Version 4 and Version 5 of Documentation Checks


Ignore:
Timestamp:
Mar 16, 2016 7:24:52 AM (9 years ago)
Author:
smk78
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation Checks

    v4 v5  
    2121 - this will be auto-generated from the ''parameters'' in the ''.py'' file 
    2222 
    23  - model parameter names should be consistent between different models, so ''solvent_sld'', for example, should have exactly the same name in every model 
    2423 - ''scale'' and ''background'' are implicit to all models, they do not need to be added separately 
    25  
    26  - new parameter names: 
    27   - radius = radius 
    28   - sld = scattering length density of particle 
    29   - solvent_sld = scattering length density of matrix 
    30   - regiona_sld = scattering length density of region a for a multi component model with several slds 
    31   - cor_length = correlation length 
    32   - exp = an exponent 
    33   - peak_pos = q_peak or q0, etc 
    34   - theta = axis_theta 
    35   - phi = axis_phi 
    36   - vol_frac = volume fraction of particle 
    37   - etc 
     24 - '''parameter names should follow the mathematical convention; eg, ''radius_core'' not ''core_radius'', or ''sld_solvent'' not ''solvent_sld'' 
     25 - use ''python -m sasmodels.list_pars'' to see all the parameter names currently in use: ''re-use'' as many as possible!!! 
     26 - model parameter names should be consistent between different models, so ''sld_solvent'', for example, should have exactly the same name in every model 
    3827 
    3928 - every parameter should have units (or the word ''None'') 
     
    7766 - the ''.py'' file should also contain a comment identifying ''who'' converted/created the model file 
    7867 
     68This table indicates the status of documentation compliance. 
    7969 
    8070||=!SasView name=||=sasmodels name=||= short_desc =||= param_table =||= long_desc =||= definition =||= formula =||= param_desc =||= plot =||= ref =||= attribution =||