Ignore:
Timestamp:
Oct 9, 2016 11:59:04 AM (8 years ago)
Author:
smk78
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
9cc002d
Parents:
467202f
Message:

Tweaked text to explain difference between the Custom Model editor and
Plugin Models (keeping Richard happy again!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/media/plugin.rst

    rb2a3814 r7e6bdf9  
    66.. note:: If some code blocks are not readable, expand the documentation window 
    77 
     8Introduction 
     9^^^^^^^^^^^^ 
     10 
     11There are currently two ways to add your own models to SasView: 
     12 
     13* Using the :ref:`Custom_Model_Editor` 
     14* By Writing a Plugin Model 
     15 
     16The Custom Model Editor lets you combine *existing* SasView library models. For anything more  
     17complex, or if you want to apply polydispersity to parameters, you will need to write a Plugin Model.   
     18 
    819Overview 
    920^^^^^^^^ 
    1021 
    11 You can write your own model and save it to the the SasView 
    12 *plugin_models* folder 
     22If you write your own model and save it to the the SasView *plugin_models* folder 
    1323 
    1424  *C:\\Users\\[username]\\.sasview\\plugin_models* (on Windows) 
    1525 
    16 The next time SasView is started it will compile the plugin and add 
    17 it to the list of *Customized Models* in a FitPage.  It is recommended that an 
    18 existing model be used as a template. 
     26the next time SasView is started it will compile the plugin and add 
     27it to the list of *Customized Models* in a FitPage. 
    1928 
    2029SasView has three ways of writing models: 
     
    4251 
    4352In the *~\\.sasview\\plugin_models* directory, copy the appropriate files 
    44 (using the examples above as templates) to mymodel.py (and mymodel.c, etc) 
     53(we recommend using the examples above as templates) to mymodel.py (and mymodel.c, etc) 
    4554as required, where "mymodel" is the name for the model you are creating. 
    4655 
Note: See TracChangeset for help on using the changeset viewer.