Changeset f9a1279 in sasview for sansmodels/src
- Timestamp:
- Jan 11, 2010 12:05:05 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:
- 885857e
- Parents:
- 2a11d09
- Location:
- sansmodels/src/sans/models
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/BinaryHSModel.py
r4cbaf35 rf9a1279 114 114 return CBinaryHSModel.runXY(self, x) 115 115 116 def evalDistrib ition(self, x = []):116 def evalDistribution(self, x = []): 117 117 """ Evaluate the model in cartesian coordinates 118 118 @param x: input q[], or [qx[], qy[]] 119 119 @return: scattering function P(q[]) 120 120 """ 121 return CBinaryHSModel.evalDistrib ition(self, x)121 return CBinaryHSModel.evalDistribution(self, x) 122 122 123 123 def calculate_ER(self): -
sansmodels/src/sans/models/BinaryHSPSF11Model.py
r4cbaf35 rf9a1279 117 117 return CBinaryHSPSF11Model.runXY(self, x) 118 118 119 def evalDistrib ition(self, x = []):119 def evalDistribution(self, x = []): 120 120 """ Evaluate the model in cartesian coordinates 121 121 @param x: input q[], or [qx[], qy[]] 122 122 @return: scattering function P(q[]) 123 123 """ 124 return CBinaryHSPSF11Model.evalDistrib ition(self, x)124 return CBinaryHSPSF11Model.evalDistribution(self, x) 125 125 126 126 def calculate_ER(self): -
sansmodels/src/sans/models/CoreShellCylinderModel.py
rc451be9 rf9a1279 134 134 return CCoreShellCylinderModel.runXY(self, x) 135 135 136 def evalDistrib ition(self, x = []):136 def evalDistribution(self, x = []): 137 137 """ Evaluate the model in cartesian coordinates 138 138 @param x: input q[], or [qx[], qy[]] 139 139 @return: scattering function P(q[]) 140 140 """ 141 return CCoreShellCylinderModel.evalDistrib ition(self, x)141 return CCoreShellCylinderModel.evalDistribution(self, x) 142 142 143 143 def calculate_ER(self): -
sansmodels/src/sans/models/CoreShellEllipsoidModel.py
rc451be9 rf9a1279 129 129 return CCoreShellEllipsoidModel.runXY(self, x) 130 130 131 def evalDistrib ition(self, x = []):131 def evalDistribution(self, x = []): 132 132 """ Evaluate the model in cartesian coordinates 133 133 @param x: input q[], or [qx[], qy[]] 134 134 @return: scattering function P(q[]) 135 135 """ 136 return CCoreShellEllipsoidModel.evalDistrib ition(self, x)136 return CCoreShellEllipsoidModel.evalDistribution(self, x) 137 137 138 138 def calculate_ER(self): -
sansmodels/src/sans/models/CoreShellModel.py
rc451be9 rf9a1279 114 114 return CCoreShellModel.runXY(self, x) 115 115 116 def evalDistrib ition(self, x = []):116 def evalDistribution(self, x = []): 117 117 """ Evaluate the model in cartesian coordinates 118 118 @param x: input q[], or [qx[], qy[]] 119 119 @return: scattering function P(q[]) 120 120 """ 121 return CCoreShellModel.evalDistrib ition(self, x)121 return CCoreShellModel.evalDistribution(self, x) 122 122 123 123 def calculate_ER(self): -
sansmodels/src/sans/models/CylinderModel.py
rc451be9 rf9a1279 117 117 return CCylinderModel.runXY(self, x) 118 118 119 def evalDistrib ition(self, x = []):119 def evalDistribution(self, x = []): 120 120 """ Evaluate the model in cartesian coordinates 121 121 @param x: input q[], or [qx[], qy[]] 122 122 @return: scattering function P(q[]) 123 123 """ 124 return CCylinderModel.evalDistrib ition(self, x)124 return CCylinderModel.evalDistribution(self, x) 125 125 126 126 def calculate_ER(self): -
sansmodels/src/sans/models/DiamCylFunc.py
rc451be9 rf9a1279 98 98 return CDiamCylFunc.runXY(self, x) 99 99 100 def evalDistrib ition(self, x = []):100 def evalDistribution(self, x = []): 101 101 """ Evaluate the model in cartesian coordinates 102 102 @param x: input q[], or [qx[], qy[]] 103 103 @return: scattering function P(q[]) 104 104 """ 105 return CDiamCylFunc.evalDistrib ition(self, x)105 return CDiamCylFunc.evalDistribution(self, x) 106 106 107 107 def calculate_ER(self): -
sansmodels/src/sans/models/DiamEllipFunc.py
rc451be9 rf9a1279 102 102 return CDiamEllipFunc.runXY(self, x) 103 103 104 def evalDistrib ition(self, x = []):104 def evalDistribution(self, x = []): 105 105 """ Evaluate the model in cartesian coordinates 106 106 @param x: input q[], or [qx[], qy[]] 107 107 @return: scattering function P(q[]) 108 108 """ 109 return CDiamEllipFunc.evalDistrib ition(self, x)109 return CDiamEllipFunc.evalDistribution(self, x) 110 110 111 111 def calculate_ER(self): -
sansmodels/src/sans/models/EllipsoidModel.py
rc451be9 rf9a1279 121 121 return CEllipsoidModel.runXY(self, x) 122 122 123 def evalDistrib ition(self, x = []):123 def evalDistribution(self, x = []): 124 124 """ Evaluate the model in cartesian coordinates 125 125 @param x: input q[], or [qx[], qy[]] 126 126 @return: scattering function P(q[]) 127 127 """ 128 return CEllipsoidModel.evalDistrib ition(self, x)128 return CEllipsoidModel.evalDistribution(self, x) 129 129 130 130 def calculate_ER(self): -
sansmodels/src/sans/models/EllipticalCylinderModel.py
rc451be9 rf9a1279 113 113 return CEllipticalCylinderModel.runXY(self, x) 114 114 115 def evalDistrib ition(self, x = []):115 def evalDistribution(self, x = []): 116 116 """ Evaluate the model in cartesian coordinates 117 117 @param x: input q[], or [qx[], qy[]] 118 118 @return: scattering function P(q[]) 119 119 """ 120 return CEllipticalCylinderModel.evalDistrib ition(self, x)120 return CEllipticalCylinderModel.evalDistribution(self, x) 121 121 122 122 def calculate_ER(self): -
sansmodels/src/sans/models/FlexibleCylinderModel.py
rc451be9 rf9a1279 106 106 return CFlexibleCylinderModel.runXY(self, x) 107 107 108 def evalDistrib ition(self, x = []):108 def evalDistribution(self, x = []): 109 109 """ Evaluate the model in cartesian coordinates 110 110 @param x: input q[], or [qx[], qy[]] 111 111 @return: scattering function P(q[]) 112 112 """ 113 return CFlexibleCylinderModel.evalDistrib ition(self, x)113 return CFlexibleCylinderModel.evalDistribution(self, x) 114 114 115 115 def calculate_ER(self): -
sansmodels/src/sans/models/Gaussian.py
rc451be9 rf9a1279 97 97 return CGaussian.runXY(self, x) 98 98 99 def evalDistrib ition(self, x = []):99 def evalDistribution(self, x = []): 100 100 """ Evaluate the model in cartesian coordinates 101 101 @param x: input q[], or [qx[], qy[]] 102 102 @return: scattering function P(q[]) 103 103 """ 104 return CGaussian.evalDistrib ition(self, x)104 return CGaussian.evalDistribution(self, x) 105 105 106 106 def calculate_ER(self): -
sansmodels/src/sans/models/HardsphereStructure.py
rc451be9 rf9a1279 106 106 return CHardsphereStructure.runXY(self, x) 107 107 108 def evalDistrib ition(self, x = []):108 def evalDistribution(self, x = []): 109 109 """ Evaluate the model in cartesian coordinates 110 110 @param x: input q[], or [qx[], qy[]] 111 111 @return: scattering function P(q[]) 112 112 """ 113 return CHardsphereStructure.evalDistrib ition(self, x)113 return CHardsphereStructure.evalDistribution(self, x) 114 114 115 115 def calculate_ER(self): -
sansmodels/src/sans/models/HayterMSAStructure.py
rc451be9 rf9a1279 116 116 return CHayterMSAStructure.runXY(self, x) 117 117 118 def evalDistrib ition(self, x = []):118 def evalDistribution(self, x = []): 119 119 """ Evaluate the model in cartesian coordinates 120 120 @param x: input q[], or [qx[], qy[]] 121 121 @return: scattering function P(q[]) 122 122 """ 123 return CHayterMSAStructure.evalDistrib ition(self, x)123 return CHayterMSAStructure.evalDistribution(self, x) 124 124 125 125 def calculate_ER(self): -
sansmodels/src/sans/models/HollowCylinderModel.py
rc451be9 rf9a1279 112 112 return CHollowCylinderModel.runXY(self, x) 113 113 114 def evalDistrib ition(self, x = []):114 def evalDistribution(self, x = []): 115 115 """ Evaluate the model in cartesian coordinates 116 116 @param x: input q[], or [qx[], qy[]] 117 117 @return: scattering function P(q[]) 118 118 """ 119 return CHollowCylinderModel.evalDistrib ition(self, x)119 return CHollowCylinderModel.evalDistribution(self, x) 120 120 121 121 def calculate_ER(self): -
sansmodels/src/sans/models/LamellarFFHGModel.py
rc451be9 rf9a1279 112 112 return CLamellarFFHGModel.runXY(self, x) 113 113 114 def evalDistrib ition(self, x = []):114 def evalDistribution(self, x = []): 115 115 """ Evaluate the model in cartesian coordinates 116 116 @param x: input q[], or [qx[], qy[]] 117 117 @return: scattering function P(q[]) 118 118 """ 119 return CLamellarFFHGModel.evalDistrib ition(self, x)119 return CLamellarFFHGModel.evalDistribution(self, x) 120 120 121 121 def calculate_ER(self): -
sansmodels/src/sans/models/LamellarModel.py
rc451be9 rf9a1279 109 109 return CLamellarModel.runXY(self, x) 110 110 111 def evalDistrib ition(self, x = []):111 def evalDistribution(self, x = []): 112 112 """ Evaluate the model in cartesian coordinates 113 113 @param x: input q[], or [qx[], qy[]] 114 114 @return: scattering function P(q[]) 115 115 """ 116 return CLamellarModel.evalDistrib ition(self, x)116 return CLamellarModel.evalDistribution(self, x) 117 117 118 118 def calculate_ER(self): -
sansmodels/src/sans/models/LamellarPSHGModel.py
rc451be9 rf9a1279 129 129 return CLamellarPSHGModel.runXY(self, x) 130 130 131 def evalDistrib ition(self, x = []):131 def evalDistribution(self, x = []): 132 132 """ Evaluate the model in cartesian coordinates 133 133 @param x: input q[], or [qx[], qy[]] 134 134 @return: scattering function P(q[]) 135 135 """ 136 return CLamellarPSHGModel.evalDistrib ition(self, x)136 return CLamellarPSHGModel.evalDistribution(self, x) 137 137 138 138 def calculate_ER(self): -
sansmodels/src/sans/models/LamellarPSModel.py
rc451be9 rf9a1279 122 122 return CLamellarPSModel.runXY(self, x) 123 123 124 def evalDistrib ition(self, x = []):124 def evalDistribution(self, x = []): 125 125 """ Evaluate the model in cartesian coordinates 126 126 @param x: input q[], or [qx[], qy[]] 127 127 @return: scattering function P(q[]) 128 128 """ 129 return CLamellarPSModel.evalDistrib ition(self, x)129 return CLamellarPSModel.evalDistribution(self, x) 130 130 131 131 def calculate_ER(self): -
sansmodels/src/sans/models/LogNormal.py
rc451be9 rf9a1279 97 97 return CLogNormal.runXY(self, x) 98 98 99 def evalDistrib ition(self, x = []):99 def evalDistribution(self, x = []): 100 100 """ Evaluate the model in cartesian coordinates 101 101 @param x: input q[], or [qx[], qy[]] 102 102 @return: scattering function P(q[]) 103 103 """ 104 return CLogNormal.evalDistrib ition(self, x)104 return CLogNormal.evalDistribution(self, x) 105 105 106 106 def calculate_ER(self): -
sansmodels/src/sans/models/Lorentzian.py
rc451be9 rf9a1279 97 97 return CLorentzian.runXY(self, x) 98 98 99 def evalDistrib ition(self, x = []):99 def evalDistribution(self, x = []): 100 100 """ Evaluate the model in cartesian coordinates 101 101 @param x: input q[], or [qx[], qy[]] 102 102 @return: scattering function P(q[]) 103 103 """ 104 return CLorentzian.evalDistrib ition(self, x)104 return CLorentzian.evalDistribution(self, x) 105 105 106 106 def calculate_ER(self): -
sansmodels/src/sans/models/MultiShellModel.py
rc451be9 rf9a1279 115 115 return CMultiShellModel.runXY(self, x) 116 116 117 def evalDistrib ition(self, x = []):117 def evalDistribution(self, x = []): 118 118 """ Evaluate the model in cartesian coordinates 119 119 @param x: input q[], or [qx[], qy[]] 120 120 @return: scattering function P(q[]) 121 121 """ 122 return CMultiShellModel.evalDistrib ition(self, x)122 return CMultiShellModel.evalDistribution(self, x) 123 123 124 124 def calculate_ER(self): -
sansmodels/src/sans/models/OblateModel.py
rc451be9 rf9a1279 127 127 return COblateModel.runXY(self, x) 128 128 129 def evalDistrib ition(self, x = []):129 def evalDistribution(self, x = []): 130 130 """ Evaluate the model in cartesian coordinates 131 131 @param x: input q[], or [qx[], qy[]] 132 132 @return: scattering function P(q[]) 133 133 """ 134 return COblateModel.evalDistrib ition(self, x)134 return COblateModel.evalDistribution(self, x) 135 135 136 136 def calculate_ER(self): -
sansmodels/src/sans/models/ParallelepipedModel.py
rc451be9 rf9a1279 116 116 return CParallelepipedModel.runXY(self, x) 117 117 118 def evalDistrib ition(self, x = []):118 def evalDistribution(self, x = []): 119 119 """ Evaluate the model in cartesian coordinates 120 120 @param x: input q[], or [qx[], qy[]] 121 121 @return: scattering function P(q[]) 122 122 """ 123 return CParallelepipedModel.evalDistrib ition(self, x)123 return CParallelepipedModel.evalDistribution(self, x) 124 124 125 125 def calculate_ER(self): -
sansmodels/src/sans/models/ProlateModel.py
rc451be9 rf9a1279 123 123 return CProlateModel.runXY(self, x) 124 124 125 def evalDistrib ition(self, x = []):125 def evalDistribution(self, x = []): 126 126 """ Evaluate the model in cartesian coordinates 127 127 @param x: input q[], or [qx[], qy[]] 128 128 @return: scattering function P(q[]) 129 129 """ 130 return CProlateModel.evalDistrib ition(self, x)130 return CProlateModel.evalDistribution(self, x) 131 131 132 132 def calculate_ER(self): -
sansmodels/src/sans/models/Schulz.py
rc451be9 rf9a1279 99 99 return CSchulz.runXY(self, x) 100 100 101 def evalDistrib ition(self, x = []):101 def evalDistribution(self, x = []): 102 102 """ Evaluate the model in cartesian coordinates 103 103 @param x: input q[], or [qx[], qy[]] 104 104 @return: scattering function P(q[]) 105 105 """ 106 return CSchulz.evalDistrib ition(self, x)106 return CSchulz.evalDistribution(self, x) 107 107 108 108 def calculate_ER(self): -
sansmodels/src/sans/models/SphereModel.py
rc451be9 rf9a1279 108 108 return CSphereModel.runXY(self, x) 109 109 110 def evalDistrib ition(self, x = []):110 def evalDistribution(self, x = []): 111 111 """ Evaluate the model in cartesian coordinates 112 112 @param x: input q[], or [qx[], qy[]] 113 113 @return: scattering function P(q[]) 114 114 """ 115 return CSphereModel.evalDistrib ition(self, x)115 return CSphereModel.evalDistribution(self, x) 116 116 117 117 def calculate_ER(self): -
sansmodels/src/sans/models/SquareWellStructure.py
rc451be9 rf9a1279 114 114 return CSquareWellStructure.runXY(self, x) 115 115 116 def evalDistrib ition(self, x = []):116 def evalDistribution(self, x = []): 117 117 """ Evaluate the model in cartesian coordinates 118 118 @param x: input q[], or [qx[], qy[]] 119 119 @return: scattering function P(q[]) 120 120 """ 121 return CSquareWellStructure.evalDistrib ition(self, x)121 return CSquareWellStructure.evalDistribution(self, x) 122 122 123 123 def calculate_ER(self): -
sansmodels/src/sans/models/StackedDisksModel.py
rc451be9 rf9a1279 123 123 return CStackedDisksModel.runXY(self, x) 124 124 125 def evalDistrib ition(self, x = []):125 def evalDistribution(self, x = []): 126 126 """ Evaluate the model in cartesian coordinates 127 127 @param x: input q[], or [qx[], qy[]] 128 128 @return: scattering function P(q[]) 129 129 """ 130 return CStackedDisksModel.evalDistrib ition(self, x)130 return CStackedDisksModel.evalDistribution(self, x) 131 131 132 132 def calculate_ER(self): -
sansmodels/src/sans/models/StickyHSStructure.py
rc451be9 rf9a1279 114 114 return CStickyHSStructure.runXY(self, x) 115 115 116 def evalDistrib ition(self, x = []):116 def evalDistribution(self, x = []): 117 117 """ Evaluate the model in cartesian coordinates 118 118 @param x: input q[], or [qx[], qy[]] 119 119 @return: scattering function P(q[]) 120 120 """ 121 return CStickyHSStructure.evalDistrib ition(self, x)121 return CStickyHSStructure.evalDistribution(self, x) 122 122 123 123 def calculate_ER(self): -
sansmodels/src/sans/models/TriaxialEllipsoidModel.py
rc451be9 rf9a1279 111 111 return CTriaxialEllipsoidModel.runXY(self, x) 112 112 113 def evalDistrib ition(self, x = []):113 def evalDistribution(self, x = []): 114 114 """ Evaluate the model in cartesian coordinates 115 115 @param x: input q[], or [qx[], qy[]] 116 116 @return: scattering function P(q[]) 117 117 """ 118 return CTriaxialEllipsoidModel.evalDistrib ition(self, x)118 return CTriaxialEllipsoidModel.evalDistribution(self, x) 119 119 120 120 def calculate_ER(self): -
sansmodels/src/sans/models/VesicleModel.py
rc451be9 rf9a1279 108 108 return CVesicleModel.runXY(self, x) 109 109 110 def evalDistrib ition(self, x = []):110 def evalDistribution(self, x = []): 111 111 """ Evaluate the model in cartesian coordinates 112 112 @param x: input q[], or [qx[], qy[]] 113 113 @return: scattering function P(q[]) 114 114 """ 115 return CVesicleModel.evalDistrib ition(self, x)115 return CVesicleModel.evalDistribution(self, x) 116 116 117 117 def calculate_ER(self): -
sansmodels/src/sans/models/c_models/modelTemplate.txt
rfe9c19b4 rf9a1279 88 88 return [CPYTHONCLASS].runXY(self, x) 89 89 90 def evalDistrib ition(self, x = []):90 def evalDistribution(self, x = []): 91 91 """ Evaluate the model in cartesian coordinates 92 92 @param x: input q[], or [qx[], qy[]] 93 93 @return: scattering function P(q[]) 94 94 """ 95 return [CPYTHONCLASS].evalDistrib ition(self, x)95 return [CPYTHONCLASS].evalDistribution(self, x) 96 96 97 97 def calculate_ER(self):
Note: See TracChangeset
for help on using the changeset viewer.