Changes between Version 45 and Version 46 of ModelConvInst
- Timestamp:
- Feb 10, 2016 12:15:59 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelConvInst
v45 v46 16 16 If you have not already done so, download the sasmodels package from the repo at [https://github.com/SasView/sasmodels]. 17 17 18 In the sasmodels/models directory, copy the appropriate files (using the examples above as templates) to mymodel.py (and mymodel.c, etc) as required, where "mymodel" is the NEW name for the model you are converting/creating. The OLD model files can be found in sasview/src/sas/models/ ddirectory. ''Please follow these new naming rules:''18 In the sasmodels/models directory, copy the appropriate files (using the examples above as templates) to mymodel.py (and mymodel.c, etc) as required, where "mymodel" is the NEW name for the model you are converting/creating. The OLD model files can be found in sasview/src/sas/models/ directory. ''Please follow these new naming rules:'' 19 19 - No capitalization and thus no !CamelCase. If necessary use underscore to separate (i.e. barbell not !BarBell or broad_peak not !BroadPeak) 20 20 - Remove “model” from the name (i.e. barbell not !BarBellModel)