Changeset 9d8a027 in sasmodels for doc/guide


Ignore:
Timestamp:
Nov 15, 2018 10:46:19 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
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.