Changeset 0824909 in sasview for sansmodels/src/sans
- Timestamp:
- Apr 15, 2009 9: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
- Location:
- sansmodels/src/sans/models
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BEPolyelectrolyte.py
r988130c6 r0824909 38 38 self.name = "BEPolyelectrolyte" 39 39 self.description=""" 40 F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k 2)/(1+(r02)^(2))*(q^(2)+k2)\41 *(q^(2)-(12*h*C/b^(2)))40 F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k^(2))/(1+(r02)^(2)) 41 *(q^(2)+k^(2))*(q^(2)-(12*h*C/b^(2)))+bkd 42 42 The model has Eight parameters: 43 43 K = Constrast factor of the polymer … … 64 64 ## Parameter details [units, min, max] 65 65 self.details = {} 66 self.details['k'] = [' barns', None, None]67 self.details['lb'] = [' A', None, None]68 self.details['h'] = [' A-3', None, None]69 self.details['b'] = [' A', None, None]70 self.details['cs'] = [' mol/L', None, None]66 self.details['k'] = ['[barns]', None, None] 67 self.details['lb'] = ['[Å]', None, None] 68 self.details['h'] = ['[1/ų]', None, None] 69 self.details['b'] = ['[Å]', None, None] 70 self.details['cs'] = ['[mol/L]', None, None] 71 71 self.details['alpha'] = ['', None, None] 72 self.details['c'] = [' mol/L', None, None]73 self.details['background'] = [' cm-1', None, None]72 self.details['c'] = ['[mol/L]', None, None] 73 self.details['background'] = ['[1/cm]', None, None] 74 74 #list of parameter that cannot be fitted 75 75 self.fixed= [] … … 78 78 """ 79 79 Evaluate 80 F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2)) *(q^(2)+k2)\81 80 F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2)) 81 *(q^(2)+k2)*(q^(2)-(12*h*C/b^(2))) 82 82 83 83 has 3 internal parameters : -
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 -
sansmodels/src/sans/models/CoreShellModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 radius = 60.0 A36 thickness = 10.0 A37 core_sld = 1e-006 A-238 shell_sld = 2e-006 A-239 solvent_sld = 3e-006 A-240 background = 0.0 cm-135 radius = 60.0 [Å] 36 thickness = 10.0 [Å] 37 core_sld = 1e-006 [1/Ų] 38 shell_sld = 2e-006 [1/Ų] 39 solvent_sld = 3e-006 [1/Ų] 40 background = 0.0 [1/cm] 41 41 42 42 """ … … 52 52 self.name = "CoreShellModel" 53 53 ## Model description 54 self.description =""" Form factor for a monodisperse spherical 54 self.description =""" Form factor for a monodisperse spherical particle with 55 55 particle with a core-shell structure: 56 56 The form factor is normalized by the … … 66 66 self.details = {} 67 67 self.details['scale'] = ['', None, None] 68 self.details['radius'] = [' A', None, None]69 self.details['thickness'] = [' A', None, None]70 self.details['core_sld'] = [' A-2', None, None]71 self.details['shell_sld'] = [' A-2', None, None]72 self.details['solvent_sld'] = [' A-2', None, None]73 self.details['background'] = [' cm-1', None, None]68 self.details['radius'] = ['[Å]', None, None] 69 self.details['thickness'] = ['[Å]', None, None] 70 self.details['core_sld'] = ['[1/Ų]', None, None] 71 self.details['shell_sld'] = ['[1/Ų]', None, None] 72 self.details['solvent_sld'] = ['[1/Ų]', None, None] 73 self.details['background'] = ['[1/cm]', None, None] 74 74 75 75 ## fittable parameters -
sansmodels/src/sans/models/CylinderModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 radius = 20.0 A36 length = 400.0 A37 contrast = 3e-006 A-238 background = 0.0 cm-139 cyl_theta = 1.0 rad40 cyl_phi = 1.0 rad35 radius = 20.0 [Å] 36 length = 400.0 [Å] 37 contrast = 3e-006 [1/Ų] 38 background = 0.0 [1/cm] 39 cyl_theta = 1.0 [rad] 40 cyl_phi = 1.0 [rad] 41 41 42 42 """ … … 53 53 ## Model description 54 54 self.description ="""P(q,alpha)= scale/V*f(q)^(2)+bkg 55 f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* 56 J1(qRsin(alpha/2))/[qRsin(alpha)] 55 f(q)= 2*(scatter_sld - solvent_sld)*V 56 *sin(qLcos(alpha/2))/[qLcos(alpha/2)] 57 *J1(qRsin(alpha/2))/[qRsin(alpha)] 57 58 V: Volume of the cylinder 58 59 R: Radius of the cylinder 59 60 L: Length of the cylinder 60 61 J1: The bessel function 61 alpha: angle betweenthe axis of the cylinder and the q-vector 62 for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* 63 sin(alpha)*dalpha+ bkg""" 62 alpha: angle betweenthe axis of the cylinder 63 and the q-vector for 1D:the ouput is 64 P(q)=scale/V*integral from pi/2 to zero of 65 f(q)^(2)*sin(alpha)*dalpha+ bkg""" 64 66 65 67 ## Parameter details [units, min, max] 66 68 self.details = {} 67 69 self.details['scale'] = ['', None, None] 68 self.details['radius'] = [' A', None, None]69 self.details['length'] = [' A', None, None]70 self.details['contrast'] = [' A-2', None, None]71 self.details['background'] = [' cm-1', None, None]72 self.details['cyl_theta'] = [' rad', None, None]73 self.details['cyl_phi'] = [' rad', None, None]70 self.details['radius'] = ['[Å]', None, None] 71 self.details['length'] = ['[Å]', None, None] 72 self.details['contrast'] = ['[1/Ų]', None, None] 73 self.details['background'] = ['[1/cm]', None, None] 74 self.details['cyl_theta'] = ['[rad]', None, None] 75 self.details['cyl_phi'] = ['[rad]', None, None] 74 76 75 77 ## fittable parameters -
sansmodels/src/sans/models/DABModel.py
r988130c6 r0824909 43 43 ## Parameter details [units, min, max] 44 44 self.details = {} 45 self.details['length'] = [' ', None, None]45 self.details['length'] = ['[Å]', None, None] 46 46 self.details['scale'] = ['', None, None] 47 self.details['background'] = [' ', None, None]47 self.details['background'] = ['[1/cm]', None, None] 48 48 #list of parameter that cannot be fitted 49 49 self.fixed= [] -
sansmodels/src/sans/models/DebyeModel.py
r988130c6 r0824909 48 48 ## Parameter details [units, min, max] 49 49 self.details = {} 50 self.details['rg'] = [' ', None, None]50 self.details['rg'] = ['[Å]', None, None] 51 51 self.details['scale'] = ['', None, None] 52 self.details['background'] = [' ', None, None]52 self.details['background'] = ['[1/cm]', None, None] 53 53 #list of parameter that cannot be fitted 54 54 self.fixed= [] -
sansmodels/src/sans/models/DiamCylFunc.py
r40945a3 r0824909 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY C:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\DiamCyl.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\DiamCyl.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class DiamCylFunc(CDiamCylFunc, BaseComponent): 29 29 """ Class that evaluates a DiamCylFunc model. 30 This file was auto-generated from C:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\DiamCyl.h.30 This file was auto-generated from ..\c_extensions\DiamCyl.h. 31 31 Refer to that file and the structure it contains 32 32 for details of the model. … … 59 59 ## fittable parameters 60 60 self.fixed=['radius.width', 'length.width'] 61 62 ## parameters with orientation 63 self.orientation_params =[] 61 64 62 65 def clone(self): -
sansmodels/src/sans/models/EllipsoidModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 radius_a = 20.0 A36 radius_b = 400.0 A37 contrast = 3e-006 A-238 background = 0.0 cm-139 axis_theta = 1.57 rad40 axis_phi = 0.0 rad35 radius_a = 20.0 [Å] 36 radius_b = 400.0 [Å] 37 contrast = 3e-006 [1/Ų] 38 background = 0.0 [1/cm] 39 axis_theta = 1.57 [rad] 40 axis_phi = 0.0 [rad] 41 41 42 42 """ … … 52 52 self.name = "EllipsoidModel" 53 53 ## Model description 54 self.description =""""P(q.alpha)= scale*f(q)^(2)+ bkg\n\ 55 f(q)= 3*(scatter_sld- scatter_solvent)*V*[sin(q*r(Ra,Rb,alpha)) - q*r*cos(qr(Ra,Rb,alpha))] 54 self.description =""""P(q.alpha)= scale*f(q)^(2)+ bkg 55 f(q)= 3*(scatter_sld- scatter_solvent)*V 56 *[sin(q*r(Ra,Rb,alpha))- q*r*cos(qr(Ra,Rb,alpha))] 56 57 /[qr(Ra,Rb,alpha)]^(3)" 57 r(Ra,Rb,alpha)= [Rb^(2)*(sin(alpha))^(2) + Ra^(2)*(cos(alpha))^(2)]^(1/2) 58 r(Ra,Rb,alpha)= [Rb^(2)*(sin(alpha))^(2) 59 + Ra^(2)*(cos(alpha))^(2)]^(1/2) 58 60 scatter_sld: scattering length density of the scatter 59 61 solvent_sld: scattering length density of the solvent … … 65 67 self.details = {} 66 68 self.details['scale'] = ['', None, None] 67 self.details['radius_a'] = [' A', None, None]68 self.details['radius_b'] = [' A', None, None]69 self.details['contrast'] = [' A-2', None, None]70 self.details['background'] = [' cm-1', None, None]71 self.details['axis_theta'] = [' rad', None, None]72 self.details['axis_phi'] = [' rad', None, None]69 self.details['radius_a'] = ['[Å]', None, None] 70 self.details['radius_b'] = ['[Å]', None, None] 71 self.details['contrast'] = ['[1/Ų]', None, None] 72 self.details['background'] = ['[1/cm]', None, None] 73 self.details['axis_theta'] = ['[rad]', None, None] 74 self.details['axis_phi'] = ['[rad]', None, None] 73 75 74 76 ## fittable parameters -
sansmodels/src/sans/models/EllipticalCylinderModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 r_minor = 20.0 A36 r_ratio = 1.5 A37 length = 400.0 A38 contrast = 3e-006 A-239 background = 0.0 cm-140 cyl_theta = 1.57 rad41 cyl_phi = 0.0 rad42 cyl_psi = 0.0 rad35 r_minor = 20.0 [Å] 36 r_ratio = 1.5 37 length = 400.0 [Å] 38 contrast = 3e-006 [1/Ų] 39 background = 0.0 [1/cm] 40 cyl_theta = 1.57 [rad] 41 cyl_phi = 0.0 [rad] 42 cyl_psi = 0.0 [rad] 43 43 44 44 """ … … 54 54 self.name = "EllipticalCylinderModel" 55 55 ## Model description 56 self.description =""" """""56 self.description ="""Please see details...""" 57 57 58 58 ## Parameter details [units, min, max] 59 59 self.details = {} 60 60 self.details['scale'] = ['', None, None] 61 self.details['r_minor'] = [' A', None, None]62 self.details['r_ratio'] = [' A', None, None]63 self.details['length'] = [' A', None, None]64 self.details['contrast'] = [' A-2', None, None]65 self.details['background'] = [' cm-1', None, None]66 self.details['cyl_theta'] = [' rad', None, None]67 self.details['cyl_phi'] = [' rad', None, None]68 self.details['cyl_psi'] = [' rad', None, None]61 self.details['r_minor'] = ['[Å]', None, None] 62 self.details['r_ratio'] = ['', None, None] 63 self.details['length'] = ['[Å]', None, None] 64 self.details['contrast'] = ['[1/Ų]', None, None] 65 self.details['background'] = ['[1/cm]', None, None] 66 self.details['cyl_theta'] = ['[rad]', None, None] 67 self.details['cyl_phi'] = ['[rad]', None, None] 68 self.details['cyl_psi'] = ['[rad]', None, None] 69 69 70 70 ## fittable parameters -
sansmodels/src/sans/models/FractalModel.py
r7292e8a r0824909 62 62 self.details = {} 63 63 self.details['scale'] = ['', None, None] 64 self.details['radius'] = [' A', None, None]64 self.details['radius'] = ['[Å]', None, None] 65 65 self.details['fractal_dim'] = ['', 0, None] 66 self.details['corr_length'] = [' A', None, None]67 self.details['block_sld'] = [' A-2', None, None]68 self.details['solvent_sld'] = [' A-2', None, None]69 self.details['background'] = [' cm-1', None, None]66 self.details['corr_length'] = ['[Å]', None, None] 67 self.details['block_sld'] = ['[1/Ų]', None, None] 68 self.details['solvent_sld'] = ['[1/Ų]', None, None] 69 self.details['background'] = ['[1/cm]', None, None] 70 70 71 71 -
sansmodels/src/sans/models/GuinierModel.py
r800fc80 r0824909 39 39 ## Parameter details [units, min, max] 40 40 self.details = {} 41 self.details['scale'] = [' cm-1', None, None]42 self.details['rg'] = [' A', None, None]41 self.details['scale'] = ['[1/cm]', None, None] 42 self.details['rg'] = ['[Å]', None, None] 43 43 #list of parameter that cannot be fitted 44 44 self.fixed= [] -
sansmodels/src/sans/models/HardsphereStructure.py
r1bbf2ac r0824909 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\Hardsphere.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\Hardsphere.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class HardsphereStructure(CHardsphereStructure, BaseComponent): 29 29 """ Class that evaluates a HardsphereStructure model. 30 This file was auto-generated from c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\Hardsphere.h.30 This file was auto-generated from ..\c_extensions\Hardsphere.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 = 50.0 A34 radius = 50.0 [Å] 35 35 volfraction = 0.2 36 36 … … 62 62 ## Parameter details [units, min, max] 63 63 self.details = {} 64 self.details['radius'] = [' A', None, None]64 self.details['radius'] = ['[Å]', None, None] 65 65 self.details['volfraction'] = ['', None, None] 66 66 67 67 ## fittable parameters 68 68 self.fixed=['radius.width'] 69 70 ## parameters with orientation 71 self.orientation_params =[] 69 72 70 73 def clone(self): -
sansmodels/src/sans/models/HayterMSAStructure.py
rd3bbf84 r0824909 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY C:\ECLPS\workspace\trunk\sansmodels\src\sans\models\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:\ECLPS\workspace\trunk\sansmodels\src\sans\models\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 A34 radius = 20.75 [Å] 35 35 charge = 19.0 36 36 volfraction = 0.0192 37 temperature = 318.16 K38 saltconc = 0.0 37 temperature = 318.16 [K] 38 saltconc = 0.0 [M] 39 39 dielectconst = 71.08 40 40 … … 67 67 ## Parameter details [units, min, max] 68 68 self.details = {} 69 self.details['radius'] = [' A', None, None]69 self.details['radius'] = ['[Å]', None, None] 70 70 self.details['charge'] = ['', None, None] 71 71 self.details['volfraction'] = ['', None, None] 72 self.details['temperature'] = [' K', None, None]73 self.details['saltconc'] = [' ', None, None]72 self.details['temperature'] = ['[K]', None, None] 73 self.details['saltconc'] = ['[M]', None, None] 74 74 self.details['dielectconst'] = ['', None, None] 75 75 76 76 ## fittable parameters 77 77 self.fixed=['radius.width'] 78 79 ## parameters with orientation 80 self.orientation_params =[] 78 81 79 82 def clone(self): -
sansmodels/src/sans/models/LorentzModel.py
r988130c6 r0824909 42 42 ## Parameter details [units, min, max] 43 43 self.details = {} 44 self.details['length'] = [' A', None, None]44 self.details['length'] = ['[Å]', None, None] 45 45 self.details['scale'] = ['', None, None] 46 self.details['background'] = [' cm-1', None, None]46 self.details['background'] = ['[1/cm]', None, None] 47 47 #list of parameter that cannot be fitted 48 48 self.fixed= [] -
sansmodels/src/sans/models/PorodModel.py
r988130c6 r0824909 33 33 ## Parameter details [units, min, max] 34 34 self.details = {} 35 self.details['scale'] = [' ', None, None]36 self.details['background'] = [' ', None, None]35 self.details['scale'] = ['[1/Å^4]', None, None] 36 self.details['background'] = ['[1/cm]', None, None] 37 37 #list of parameter that cannot be fitted 38 38 self.fixed= [] -
sansmodels/src/sans/models/PowerLawModel.py
rf0ffb873 r0824909 45 45 self.details['m'] = ['', 0, None] 46 46 self.details['scale'] = ['', None, None] 47 self.details['background'] = [' ', None, None]47 self.details['background'] = ['[1/cm]', None, None] 48 48 #list of parameter that cannot be fitted 49 49 self.fixed= [] -
sansmodels/src/sans/models/SphereModel.py
r25a608f5 r0824909 33 33 List of default parameters: 34 34 scale = 1.0 35 radius = 60.0 A36 contrast = 1e-006 A-237 background = 0.0 cm-135 radius = 60.0 [Å] 36 contrast = 1e-006 [1/Ų] 37 background = 0.0 [1/cm] 38 38 39 39 """ … … 49 49 self.name = "SphereModel" 50 50 ## Model description 51 self.description ="""P(q)=(scale/V)*[3V(scatter_sld-solvent_sld)*(sin(qR)-qRcos(qR))/(qR)^3]^(2) 51 self.description ="""P(q)=(scale/V) 52 *[3V(scatter_sld-solvent_sld)*(sin(qR)-qRcos(qR))/(qR)^3]^(2) 52 53 +bkg 53 54 bkg: background level … … 60 61 self.details = {} 61 62 self.details['scale'] = ['', None, None] 62 self.details['radius'] = [' A', None, None]63 self.details['contrast'] = [' A-2', None, None]64 self.details['background'] = [' cm-1', None, None]63 self.details['radius'] = ['[Å]', None, None] 64 self.details['contrast'] = ['[1/Ų]', None, None] 65 self.details['background'] = ['[1/cm]', None, None] 65 66 66 67 ## fittable parameters -
sansmodels/src/sans/models/SquareWellStructure.py
r1bbf2ac r0824909 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\SquareWell.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\SquareWell.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class SquareWellStructure(CSquareWellStructure, BaseComponent): 29 29 """ Class that evaluates a SquareWellStructure model. 30 This file was auto-generated from c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\SquareWell.h.30 This file was auto-generated from ..\c_extensions\SquareWell.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 = 50.0 A34 radius = 50.0 [Å] 35 35 volfraction = 0.04 36 welldepth = 1.5 kT36 welldepth = 1.5 [kT] 37 37 wellwidth = 1.2 38 38 … … 66 66 ## Parameter details [units, min, max] 67 67 self.details = {} 68 self.details['radius'] = [' A', None, None]68 self.details['radius'] = ['[Å]', None, None] 69 69 self.details['volfraction'] = ['', None, None] 70 self.details['welldepth'] = [' kT', None, None]70 self.details['welldepth'] = ['[kT]', None, None] 71 71 self.details['wellwidth'] = ['', None, None] 72 72 73 73 ## fittable parameters 74 74 self.fixed=['radius.width'] 75 76 ## parameters with orientation 77 self.orientation_params =[] 75 78 76 79 def clone(self): -
sansmodels/src/sans/models/StickyHSStructure.py
r1bbf2ac r0824909 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\StickyHS.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\StickyHS.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class StickyHSStructure(CStickyHSStructure, BaseComponent): 29 29 """ Class that evaluates a StickyHSStructure model. 30 This file was auto-generated from c:\ECLPS\workspace\trunk\sansmodels\src\sans\models\c_extensions\StickyHS.h.30 This file was auto-generated from ..\c_extensions\StickyHS.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 = 50.0 A34 radius = 50.0 [Å] 35 35 volfraction = 0.1 36 36 perturb = 0.05 … … 68 68 ## Parameter details [units, min, max] 69 69 self.details = {} 70 self.details['radius'] = [' A', None, None]70 self.details['radius'] = ['[Å]', None, None] 71 71 self.details['volfraction'] = ['', None, None] 72 72 self.details['perturb'] = ['', None, None] … … 75 75 ## fittable parameters 76 76 self.fixed=['radius.width'] 77 78 ## parameters with orientation 79 self.orientation_params =[] 77 80 78 81 def clone(self): -
sansmodels/src/sans/models/TeubnerStreyModel.py
r988130c6 r0824909 50 50 self.details['c2'] = ['', None, None ] 51 51 self.details['scale'] = ['', None, None] 52 self.details['background'] = [' ', None, None]52 self.details['background'] = ['[1/cm]', None, None] 53 53 #list of parameter that cannot be fitted 54 54 self.fixed= []
Note: See TracChangeset
for help on using the changeset viewer.