Changeset 9d8a027 in sasmodels


Ignore:
Timestamp:
Nov 15, 2018 10:46:19 PM (4 weeks ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master
Children:
899e050
Parents:
c6084f1
Message:

add docs for 'model_info=…' to plugin guide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/guide/plugin.rst

    r57c609b r9d8a027  
    272272structure factor to account for interactions between particles.  See 
    273273`Form_Factors`_ for more details. 
     274 
     275**model_info = ...** lets you define a model directly, for example, by 
     276loading and modifying existing models.  This is done implicitly by 
     277:func:`sasmodels.core.load_model_info`, which can create a mixture model 
     278from a pair of existing models.  For example:: 
     279 
     280    from sasmodels.core import load_model_info 
     281    model_info = load_model_info('sphere+cylinder') 
     282 
     283See :class:`sasmodels.modelinfo.ModelInfo` for details about the model 
     284attributes that are defined. 
    274285 
    275286Model Parameters 
Note: See TracChangeset for help on using the changeset viewer.