Changeset 5eb9154 in sasview for sansmodels/src/sans/models/HayterMSAStructure.py
- Timestamp:
- Aug 31, 2009 3:25:44 PM (15 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:
- 5be36bb
- Parents:
- 572beba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/HayterMSAStructure.py
r9bd69098 r5eb9154 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\ HayterMSA.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\hayterMSA.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class HayterMSAStructure(CHayterMSAStructure, BaseComponent): 29 29 """ Class that evaluates a HayterMSAStructure model. 30 This file was auto-generated from ..\c_extensions\ HayterMSA.h.30 This file was auto-generated from ..\c_extensions\hayterMSA.h. 31 31 Refer to that file and the structure it contains 32 32 for details of the model. 33 33 List of default parameters: 34 radius= 20.75 [A]34 effect_radius = 20.75 [A] 35 35 charge = 19.0 36 36 volfraction = 0.0192 … … 68 68 ## Parameter details [units, min, max] 69 69 self.details = {} 70 self.details[' radius'] = ['[A]', None, None]70 self.details['effect_radius'] = ['[A]', None, None] 71 71 self.details['charge'] = ['', None, None] 72 72 self.details['volfraction'] = ['', None, None] … … 76 76 77 77 ## fittable parameters 78 self.fixed=[' radius.width']78 self.fixed=['effect_radius.width'] 79 79 80 80 ## parameters with orientation … … 108 108 return CHayterMSAStructure.evalDistribition(self, x) 109 109 110 def calculate_ER(self): 111 """ Calculate the effective radius for P(q)*S(q) 112 @param x: input q, or [q,phi] 113 @return: the value of the effective radius 114 """ 115 return CHayterMSAStructure.calculate_ER(self) 116 110 117 def set_dispersion(self, parameter, dispersion): 111 118 """
Note: See TracChangeset
for help on using the changeset viewer.