Changeset 3d164b9 in sasview for src/sas/sasgui/perspectives/fitting/media/plugin.rst
- Timestamp:
- Sep 21, 2016 9:53:55 AM (8 years ago)
- 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 6e0c7b2
- Parents:
- 7d94915
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/media/plugin.rst
r05829fb r3d164b9 32 32 `model marketplace <http://marketplace.sasview.org/>`_. 33 33 34 The built in modules are available in the *sasmodels-data/models* subdirectory35 of the sasview distribution. On Windows, this will be something like36 *C:\ Program Files (x86)\SasView\models*. On MacOSX, these will be within34 The built-in modules are available in the *sasmodels-data\\models* subdirectory 35 of the sasview installation folder. On Windows, this will be something like 36 *C:\\Program Files (x86)\\SasView\\sasmodels-data. On MacOSX, these will be within 37 37 the application bundle as 38 38 */Applications/SasView 4.0.app/Contents/Resources/sasmodels-data/models*. … … 41 41 ^^^^^^^^^^^^^^^^^^^^^^ 42 42 43 In the *~ /.sasview/plugin_models* directory, copy the appropriate files43 In the *~\\.sasview\\plugin_models* directory, copy the appropriate files 44 44 (using the examples above as templates) to mymodel.py (and mymodel.c, etc) 45 45 as required, where "mymodel" is the name for the model you are creating. … … 48 48 49 49 - No capitalization and thus no CamelCase. 50 - If necessary use underscore to separate (i.e. barbell not BarBell or50 - If necessary use underscore to separate words (i.e. barbell not BarBell or 51 51 broad_peak not BroadPeak) 52 - Do n't include âmodelâ in the name (i.e. barbell not BarBellModel)52 - Do not include âmodelâ in the name (i.e. barbell not BarBellModel) 53 53 54 54 … … 85 85 - this is ReStructuredText enclosed between the r""" and """ delimiters 86 86 at the top of the *.py* file 87 - what you write here is abstracted into the help documentation 87 88 88 89 - a **definition** of the model: … … 107 108 - the *.py* file should also contain a comment identifying *who* 108 109 converted/created the model file 110 111 Models that do not conform to these requirements will *never* be incorporated 112 into the built-in library. 109 113 110 114 More complete documentation for the sasmodels package can be found at
Note: See TracChangeset
for help on using the changeset viewer.