Changeset cb4ef58 in sasview for src/sas/sasgui/perspectives/calculator
- Timestamp:
- Apr 13, 2016 9:23:07 AM (9 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:
- 16b769b
- Parents:
- fa4ea80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
raa03e0d rcb4ef58 1329 1329 SUM_TEMPLATE = """ 1330 1330 # A sample of an experimental model function for Sum/Multiply(Pmodel1,Pmodel2) 1331 import os 1332 import sys 1331 1333 import copy 1334 1335 import nuympy 1336 1332 1337 from sas.sascalc.fit.pluginmodel import Model1DPlugin 1333 1338 from sasmodels.sasview_model import make_class … … 1339 1344 #P2_model: 1340 1345 #from %s import Model as P2 1341 import os1342 import sys1343 1346 1344 1347 class Model(Model1DPlugin): … … 1385 1388 ## Parameter details [units, min, max] 1386 1389 self._set_details() 1387 self.details['scale_factor'] = ['', None, None]1390 self.details['scale_factor'] = ['', 0.0, numpy.inf] 1388 1391 1389 1392
Note: See TracChangeset
for help on using the changeset viewer.