Changeset f10063e in sasview for sansmodels/src/sans/models/SphereModel.py
- Timestamp:
- Mar 30, 2010 5:56:04 PM (14 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:
- 8d97277
- Parents:
- 6e93a02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/SphereModel.py
rf9a1279 rf10063e 34 34 scale = 1.0 35 35 radius = 60.0 [A] 36 contrast = 1e-006 [1/A^(2)] 36 sldSph = 2e-006 [1/A^(2)] 37 sldSolv = 1e-006 [1/A^(2)] 37 38 background = 0.0 [1/cm] 38 39 … … 49 50 self.name = "SphereModel" 50 51 ## Model description 51 self.description ="""P(q)=(scale/V)*[3V(s catter_sld-solvent_sld)*(sin(qR)-qRcos(qR))52 self.description ="""P(q)=(scale/V)*[3V(sldSph-sldSolv)*(sin(qR)-qRcos(qR)) 52 53 /(qR)^3]^(2)+bkg 53 54 54 55 bkg:background, R: radius of sphere 55 56 V:The volume of the scatter 56 contrast:SLD difference between 57 scatter and solvent 58 scatter_sld: the SLD of the scatter 59 solvent_sld: the SLD of the solvent 57 sldSph: the SLD of the sphere 58 sldSolv: the SLD of the solvent 60 59 """ 61 60 … … 64 63 self.details['scale'] = ['', None, None] 65 64 self.details['radius'] = ['[A]', None, None] 66 self.details['contrast'] = ['[1/A^(2)]', None, None] 65 self.details['sldSph'] = ['[1/A^(2)]', None, None] 66 self.details['sldSolv'] = ['[1/A^(2)]', None, None] 67 67 self.details['background'] = ['[1/cm]', None, None] 68 68
Note: See TracChangeset
for help on using the changeset viewer.