Changeset 27fea3f in sasview for sansmodels/src/sans/models
- Timestamp:
- Jul 7, 2009 2:45:06 PM (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:
- 793c988
- Parents:
- 4331b05e
- Location:
- sansmodels/src/sans/models
- Files:
-
- 5 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h
r1ed3834 r27fea3f 32 32 // phi: the axis_phi of the cylinder... 33 33 // </text> 34 //[FIXED]= <text> axis_phi.width; axis_theta.width; length.width;radius.width; thickness _width</text>34 //[FIXED]= <text> axis_phi.width; axis_theta.width; length.width;radius.width; thickness.width</text> 35 35 //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width 36 36 -
sansmodels/src/sans/models/c_models/c_models.cpp
r34c3020 r27fea3f 31 31 void addCLamellarModel(PyObject *module); 32 32 void addCLamellarFFHGModel(PyObject *module); 33 void addCHollowCylinderModel(PyObject *module); 33 34 34 35 … … 181 182 addCLamellarModel(m); 182 183 addCLamellarFFHGModel(m); 184 addCHollowCylinderModel(m); 183 185 addDisperser(m); 184 186 addCGaussian(m); 185 187 addCLorentzian(m); 186 188 189 187 190 } -
sansmodels/src/sans/models/c_models/models.hh
r34c3020 r27fea3f 463 463 double evaluate_rphi(double q, double phi); 464 464 }; 465 465 class HollowCylinderModel{ 466 public: 467 // Model parameters 468 Parameter scale; 469 Parameter core_radius; 470 Parameter shell_radius; 471 Parameter length; 472 Parameter contrast; 473 Parameter background; 474 Parameter axis_theta; 475 Parameter axis_phi; 476 477 //Constructor 478 HollowCylinderModel(); 479 480 //Operators to get I(Q) 481 double operator()(double q); 482 double operator()(double qx , double qy); 483 double evaluate_rphi(double q, double phi); 484 }; 466 485 #endif -
sansmodels/src/sans/models/pluginmodel.py
r996fd35 r27fea3f 31 31 else: 32 32 return self.function(x) 33 33 34 34 35 def runXY(self, x = 0.0):
Note: See TracChangeset
for help on using the changeset viewer.