Changeset 4e2f6ef8 in sasview for sansmodels/src
- Timestamp:
- Oct 23, 2008 11:13:59 AM (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:
- 753552d
- Parents:
- f6cc57c
- Location:
- sansmodels/src/sans/models
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/DABModel.py
rf6cc57c r4e2f6ef8 29 29 ## Name of the model 30 30 self.name = "DAB_Model" 31 self.description=" Name: DAB model.\n\31 self.description=" DAB (Debye Anderson Brumberger) function.\n\ 32 32 F(x) = scale/( 1 + (x*L)^2 )^(2) + background\n\ 33 33 The model has three parameters:\n \ -
sansmodels/src/sans/models/LorentzModel.py
r5f89fb8 r4e2f6ef8 29 29 ## Name of the model 30 30 self.name = "Lorentz" 31 self.description='' 31 self.description="Lorentz (Ornstein-Zernicke) model.\n\ 32 F(x) = scale/( 1 + (x*L)^2 ) + bkd\n\ 33 The model has three parameters:\n \ 34 L = screen Length\n\ 35 scale = scale factor\n\ 36 bkd = incoherent background" 32 37 ## Define parameters 33 38 self.params = {} -
sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h
r0f5bc9f r4e2f6ef8 7 7 //[PYTHONCLASS] = CoreShellCylinderModel 8 8 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 9 //[DESCRIPTION] = '' 9 10 typedef struct { 10 11 /// Scale factor -
sansmodels/src/sans/models/c_extensions/cylinder.h
raf03ddd r4e2f6ef8 1 1 #if !defined(cylinder_h) 2 2 #define cylinder_h 3 3 #include string 4 4 /** Structure definition for cylinder parameters 5 5 * [PYTHONCLASS] = CylinderModel 6 6 * [DISP_PARAMS] = radius, length, cyl_theta, cyl_phi 7 [DESCRIPTION] = '' 8 7 9 * */ 8 10 typedef struct { … … 28 30 // [DEFAULT]=cyl_phi=1.0 rad 29 31 double cyl_phi; 32 30 33 } CylinderParameters; 31 34 -
sansmodels/src/sans/models/c_models/WrapperGenerator.py
r0f5bc9f r4e2f6ef8 79 79 ## List of dispersed parameters 80 80 self.disp_params = [] 81 #model description 82 self.description='' 81 83 82 84 def __repr__(self): … … 330 332 newline = self.replaceToken(newline, 331 333 "[PAR_DETAILS]", self.details) 334 # Parameter details 335 newline = self.replaceToken(newline, 336 "[DESCRIPTION]", self.description) 332 337 333 338 # Write new line to the wrapper .c file
Note: See TracChangeset
for help on using the changeset viewer.