Changeset d47c349 in sasview
- Timestamp:
- Apr 18, 2012 10:31:30 AM (13 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:
- 79ba1fc
- Parents:
- 6605880
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/python_wrapper/modelTemplate.txt
r5625551 rd47c349 1 #!/usr/bin/env python2 3 1 ############################################################################## 4 # 5 # 6 # 2 # This software was developed by the University of Tennessee as part of the 3 # Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 4 # project funded by the US National Science Foundation. 7 5 # 8 # 9 # 10 # 6 # If you use DANSE applications to do scientific research that leads to 7 # publication, we ask that you acknowledge the use of the software with the 8 # following sentence: 11 9 # 12 # "This work benefited from DANSE software developed under NSF award DMR-0520547."10 # This work benefited from DANSE software developed under NSF award DMR-0520547 13 11 # 14 # copyright 2008, University of Tennessee12 # Copyright 2008-2011, University of Tennessee 15 13 ############################################################################## 16 17 14 18 15 """ … … 22 19 DO NOT MODIFY THIS FILE, MODIFY [INCLUDE_FILE] 23 20 AND RE-RUN THE GENERATOR SCRIPT 24 25 21 """ 26 22 27 23 from sans.models.BaseComponent import BaseComponent 28 24 from sans.models.sans_extension.c_models import [CPYTHONCLASS] 29 30 # Disable pylint warnings that have to do with API choices31 # pylint: disable=C010332 25 33 26 def create_[PYTHONCLASS](): … … 50 43 def __init__(self): 51 44 """ Initialization """ 45 self.__dict__ = {} 52 46 53 47 # Initialize BaseComponent first, then sphere … … 114 108 return [CPYTHONCLASS].runXY(self, x) 115 109 116 def evalDistribution(self, x =[]):110 def evalDistribution(self, x): 117 111 """ 118 112 Evaluate the model in cartesian coordinates
Note: See TracChangeset
for help on using the changeset viewer.