Changeset 1ed3834 in sasview for sansmodels/src/sans/models/SphereModel.py
- Timestamp:
- Apr 16, 2009 4:37:39 PM (16 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:
- fca9cbd9
- Parents:
- 3fef0a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/SphereModel.py
r0824909 r1ed3834 33 33 List of default parameters: 34 34 scale = 1.0 35 radius = 60.0 [ Å]36 contrast = 1e-006 [1/ Ų]35 radius = 60.0 [A] 36 contrast = 1e-006 [1/A²] 37 37 background = 0.0 [1/cm] 38 38 … … 49 49 self.name = "SphereModel" 50 50 ## Model description 51 self.description ="""P(q)=(scale/V) 52 *[3V(scatter_sld-solvent_sld)*(sin(qR)-qRcos(qR))/(qR)^3]^(2) 53 +bkg 54 bkg: background level 55 R: radius of the sphere 51 self.description ="""P(q)=(scale/V)*[3V(scatter_sld-solvent_sld)*(sin(qR)-qRcos(qR)) 52 /(qR)^3]^(2)+bkg 53 54 bkg:background, R: radius of sphere 56 55 V:The volume of the scatter 57 scatter_sld: the scattering length density of the scatter 58 solvent_sld: the scattering length density of the solvent""" 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 60 """ 59 61 60 62 ## Parameter details [units, min, max] 61 63 self.details = {} 62 64 self.details['scale'] = ['', None, None] 63 self.details['radius'] = ['[ Å]', None, None]64 self.details['contrast'] = ['[1/ Ų]', None, None]65 self.details['radius'] = ['[A]', None, None] 66 self.details['contrast'] = ['[1/A²]', None, None] 65 67 self.details['background'] = ['[1/cm]', None, None] 66 68
Note: See TracChangeset
for help on using the changeset viewer.