Changeset 0824909 in sasview for sansmodels/src/sans/models/CoreShellCylinderModel.py
- Timestamp:
- Apr 15, 2009 7:59:36 AM (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:
- 27c5c26
- Parents:
- b22748b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/CoreShellCylinderModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 radius = 20.0 A36 thickness = 10.0 A37 length = 400.0 A38 core_sld = 1e-006 A-239 shell_sld = 4e-006 A-240 solvent_sld = 1e-006 A-241 background = 0.0 cm-142 axis_theta = 1.57 rad43 axis_phi = 0.0 rad35 radius = 20.0 [Å] 36 thickness = 10.0 [Å] 37 length = 400.0 [Å] 38 core_sld = 1e-006 [1/Ų] 39 shell_sld = 4e-006 [1/Ų] 40 solvent_sld = 1e-006 [1/Ų] 41 background = 0.0 [1/cm] 42 axis_theta = 1.57 [rad] 43 axis_phi = 0.0 [rad] 44 44 45 45 """ … … 57 57 self.description ="""P(q,alpha)= scale/Vs*f(q)^(2) + bkg Where:\n\ 58 58 f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 59 [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 2(shell_sld-solvent_sld)*Vs 59 [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 60 2(shell_sld-solvent_sld)*Vs 60 61 *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 61 62 *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 62 alpha:is the angle between the axis of the cylinder and the q-vector 63 alpha:is the angle between the axis of the cylinder 64 and the q-vector 63 65 Vs: the volume of the outer shell 64 66 Vc: the volume of the core … … 77 79 self.details = {} 78 80 self.details['scale'] = ['', None, None] 79 self.details['radius'] = [' A', None, None]80 self.details['thickness'] = [' A', None, None]81 self.details['length'] = [' A', None, None]82 self.details['core_sld'] = [' A-2', None, None]83 self.details['shell_sld'] = [' A-2', None, None]84 self.details['solvent_sld'] = [' A-2', None, None]85 self.details['background'] = [' cm-1', None, None]86 self.details['axis_theta'] = [' rad', None, None]87 self.details['axis_phi'] = [' rad', None, None]81 self.details['radius'] = ['[Å]', None, None] 82 self.details['thickness'] = ['[Å]', None, None] 83 self.details['length'] = ['[Å]', None, None] 84 self.details['core_sld'] = ['[1/Ų]', None, None] 85 self.details['shell_sld'] = ['[1/Ų]', None, None] 86 self.details['solvent_sld'] = ['[1/Ų]', None, None] 87 self.details['background'] = ['[1/cm]', None, None] 88 self.details['axis_theta'] = ['[rad]', None, None] 89 self.details['axis_phi'] = ['[rad]', None, None] 88 90 89 91 ## fittable parameters
Note: See TracChangeset
for help on using the changeset viewer.