source: sasview/src/sas/sascalc/simulation/pointsmodelpy/pointsmodelpymodule/misc.h @ cf2e6b4

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since cf2e6b4 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 8.2 KB
RevLine 
[aa639ea]1#if !defined(pypointsmodelpy_misc_h)
2#define pypointsmodelpy_misc_h
3
4// @copyright: University of Tennessee, for the DANSE project
5extern char pypointsmodelpy_copyright__name__[];
6extern char pypointsmodelpy_copyright__doc__[];
7extern "C"
8PyObject * pypointsmodelpy_copyright(PyObject *, PyObject *);
9
10// LORESModel constructor LORESModel(double density)
11extern char pypointsmodelpy_new_loresmodel__name__[];
12extern char pypointsmodelpy_new_loresmodel__doc__[];
13extern "C"
14PyObject * pypointsmodelpy_new_loresmodel(PyObject *, PyObject *);
15
16//Clean LORESModel constructor memory usage
17static void PyDelLores(void *);
18
19//LORESModel methods add(GeoShapes &, double sld)
20extern char pypointsmodelpy_lores_add__name__[];
21extern char pypointsmodelpy_lores_add__doc__[];
22extern "C"
23PyObject * pypointsmodelpy_lores_add(PyObject *, PyObject *);
24
25//LORESModel methods GetPoints(vector<Point3D> &)
26extern char pypointsmodelpy_get_lorespoints__name__[];
27extern char pypointsmodelpy_get_lorespoints__doc__[];
28extern "C"
29PyObject * pypointsmodelpy_get_lorespoints(PyObject *, PyObject *);
30
31//PDBModel constructor PDBModel()
32extern char pypointsmodelpy_new_pdbmodel__name__[];
33extern char pypointsmodelpy_new_pdbmodel__doc__[];
34extern "C"
35PyObject * pypointsmodelpy_new_pdbmodel(PyObject *, PyObject *);
36
37//Clean PDBModel constructor memory usage
38static void PyDelPDB(void *);
39
40//PDBModel method AddPDB(string)
41extern char pypointsmodelpy_pdbmodel_add__name__[];
42extern char pypointsmodelpy_pdbmodel_add__doc__[];
43extern "C"
44PyObject * pypointsmodelpy_pdbmodel_add(PyObject *, PyObject *);
45
46//PDBModel method GetPoints(Point3DVector &)
47extern char pypointsmodelpy_get_pdbpoints__name__[];
48extern char pypointsmodelpy_get_pdbpoints__doc__[];
49extern "C"
50PyObject * pypointsmodelpy_get_pdbpoints(PyObject *, PyObject *);
51
52//ComplexModel constructor ComplexModel()
53extern char pypointsmodelpy_new_complexmodel__name__[];
54extern char pypointsmodelpy_new_complexmodel__doc__[];
55extern "C"
56PyObject * pypointsmodelpy_new_complexmodel(PyObject *, PyObject *);
57
58//Clean Complexodel constructor memory usage
59static void PyDelComplex(void *);
60
61//ComplexModel method AddComplex(string)
62extern char pypointsmodelpy_complexmodel_add__name__[];
63extern char pypointsmodelpy_complexmodel_add__doc__[];
64extern "C"
65PyObject * pypointsmodelpy_complexmodel_add(PyObject *, PyObject *);
66
67//ComplexModel method GetPoints(Point3DVector &)
68extern char pypointsmodelpy_get_complexpoints__name__[];
69extern char pypointsmodelpy_get_complexpoints__doc__[];
70extern "C"
71PyObject * pypointsmodelpy_get_complexpoints(PyObject *, PyObject *);
72
73//generate a new vector of points3d
74extern char pypointsmodelpy_new_point3dvec__name__[];
75extern char pypointsmodelpy_new_point3dvec__doc__[];
76extern "C"
77PyObject * pypointsmodelpy_new_point3dvec(PyObject *, PyObject *);
78
79//clean new_point3dvec
80static void PyDelPoint3DVec(void *);
81
82// method FillPoints(loresmodel, point3dvec)
83//extern char pypointsmodelpy_fillpoints__name__[];
84//extern char pypointsmodelpy_fillpoints__doc__[];
85//extern "C"
86//PyObject * pypointsmodelpy_fillpoints(PyObject *, PyObject *);
87
88// LORESModel method distdistribution(point3dvec)
89extern char pypointsmodelpy_get_lores_pr__name__[];
90extern char pypointsmodelpy_get_lores_pr__doc__[];
91extern "C"
92PyObject * pypointsmodelpy_get_lores_pr(PyObject *, PyObject *);
93
94// method distdistribution_xy(point3dvec)
95extern char pypointsmodelpy_distdistribution_xy__name__[];
96extern char pypointsmodelpy_distdistribution_xy__doc__[];
97extern "C"
98PyObject * pypointsmodelpy_distdistribution_xy(PyObject *, PyObject *);
99
100// PDBModel method distdistribution(point3dvec)
101extern char pypointsmodelpy_get_pdb_pr__name__[];
102extern char pypointsmodelpy_get_pdb_pr__doc__[];
103extern "C"
104PyObject * pypointsmodelpy_get_pdb_pr(PyObject *, PyObject *);
105
106// PDBModel method distdistribution_xy(point3dvec)
107extern char pypointsmodelpy_get_pdb_pr_xy__name__[];
108extern char pypointsmodelpy_get_pdb_pr_xy__doc__[];
109extern "C"
110PyObject * pypointsmodelpy_get_pdb_pr_xy(PyObject *, PyObject *);
111
112// ComplexModel method distdistribution(point3dvec)
113extern char pypointsmodelpy_get_complex_pr__name__[];
114extern char pypointsmodelpy_get_complex_pr__doc__[];
115extern "C"
116PyObject * pypointsmodelpy_get_complex_pr(PyObject *, PyObject *);
117
118// LORESModel method calculateIQ(iq)
119extern char pypointsmodelpy_get_lores_iq__name__[];
120extern char pypointsmodelpy_get_lores_iq__doc__[];
121extern "C"
122PyObject * pypointsmodelpy_get_lores_iq(PyObject *, PyObject *);
123
124// LORESModel method CalculateIQ(q)
125extern char pypointsmodelpy_get_lores_i__name__[];
126extern char pypointsmodelpy_get_lores_i__doc__[];
127extern "C"
128PyObject * pypointsmodelpy_get_lores_i(PyObject *, PyObject *);
129
130// ComplexModel method CalculateIQ(q)
131extern char pypointsmodelpy_get_complex_i__name__[];
132extern char pypointsmodelpy_get_complex_i__doc__[];
133extern "C"
134PyObject * pypointsmodelpy_get_complex_i(PyObject *, PyObject *);
135
136// ComplexModel method CalculateIQError(q)
137extern char pypointsmodelpy_get_complex_i_error__name__[];
138extern char pypointsmodelpy_get_complex_i_error__doc__[];
139extern "C"
140PyObject * pypointsmodelpy_get_complex_i_error(PyObject *, PyObject *);
141
142// method calculateIQ_2D(iq,theta)
143extern char pypointsmodelpy_calculateIQ_2D__name__[];
144extern char pypointsmodelpy_calculateIQ_2D__doc__[];
145extern "C"
146PyObject * pypointsmodelpy_calculateIQ_2D(PyObject *, PyObject *);
147
148// method calculateI_Qxy(Qx,Qy)
149extern char pypointsmodelpy_calculateI_Qxy__name__[];
150extern char pypointsmodelpy_calculateI_Qxy__doc__[];
151extern "C"
152PyObject * pypointsmodelpy_calculateI_Qxy(PyObject *, PyObject *);
153
154// method calculateI_Qvxy(points,Qx,Qy)
155extern char pypointsmodelpy_calculateI_Qvxy__name__[];
156extern char pypointsmodelpy_calculateI_Qvxy__doc__[];
157extern "C"
158PyObject * pypointsmodelpy_calculateI_Qvxy(PyObject *, PyObject *);
159
160// PDBModel method calculateIQ(iq)
161extern char pypointsmodelpy_get_pdb_iq__name__[];
162extern char pypointsmodelpy_get_pdb_iq__doc__[];
163extern "C"
164PyObject * pypointsmodelpy_get_pdb_iq(PyObject *, PyObject *);
165
166// PDBModel method calculateIQ_2D(qx,qy)
167extern char pypointsmodelpy_get_pdb_Iqxy__name__[];
168extern char pypointsmodelpy_get_pdb_Iqxy__doc__[];
169extern "C"
170PyObject * pypointsmodelpy_get_pdb_Iqxy(PyObject *, PyObject *);
171
172// PDBModel method calculateIQ_2D(pts,qx,qy)
173extern char pypointsmodelpy_get_pdb_Iqvxy__name__[];
174extern char pypointsmodelpy_get_pdb_Iqvxy__doc__[];
175extern "C"
176PyObject * pypointsmodelpy_get_pdb_Iqvxy(PyObject *, PyObject *);
177
178// ComplexModel method calculateIQ_2D(pts,qx,qy)
179extern char pypointsmodelpy_get_complex_Iqxy__name__[];
180extern char pypointsmodelpy_get_complex_Iqxy__doc__[];
181extern "C"
182PyObject * pypointsmodelpy_get_complex_Iqxy(PyObject *, PyObject *);
183
184// ComplexModel method calculateIQ_2D_Error(pts,qx,qy)
185extern char pypointsmodelpy_get_complex_Iqxy_err__name__[];
186extern char pypointsmodelpy_get_complex_Iqxy_err__doc__[];
187extern "C"
188PyObject * pypointsmodelpy_get_complex_Iqxy_err(PyObject *, PyObject *);
189
190// ComplexModel method calculateIQ(iq)
191extern char pypointsmodelpy_get_complex_iq__name__[];
192extern char pypointsmodelpy_get_complex_iq__doc__[];
193extern "C"
194PyObject * pypointsmodelpy_get_complex_iq(PyObject *, PyObject *);
195
196// method outputPR
197extern char pypointsmodelpy_outputPR__name__[];
198extern char pypointsmodelpy_outputPR__doc__[];
199extern "C"
200PyObject * pypointsmodelpy_outputPR(PyObject *, PyObject *);
201
202//method get_pr()
203extern char pypointsmodelpy_getPR__name__[];
204extern char pypointsmodelpy_getPR__doc__[];
205extern "C"
206PyObject * pypointsmodelpy_getPR(PyObject *, PyObject *);
207
208
209// method outputPR_xy
210extern char pypointsmodelpy_outputPR_xy__name__[];
211extern char pypointsmodelpy_outputPR_xy__doc__[];
212extern "C"
213PyObject * pypointsmodelpy_outputPR_xy(PyObject *, PyObject *);
214
215// PDBModel method outputPR
216extern char pypointsmodelpy_save_pdb_pr__name__[];
217extern char pypointsmodelpy_save_pdb_pr__doc__[];
218extern "C"
219PyObject * pypointsmodelpy_save_pdb_pr(PyObject *, PyObject *);
220
221// ComplexModel method outputPR
222extern char pypointsmodelpy_save_complex_pr__name__[];
223extern char pypointsmodelpy_save_complex_pr__doc__[];
224extern "C"
225PyObject * pypointsmodelpy_save_complex_pr(PyObject *, PyObject *);
226
227// method outputPDB
228extern char pypointsmodelpy_outputPDB__name__[];
229extern char pypointsmodelpy_outputPDB__doc__[];
230extern "C"
231PyObject * pypointsmodelpy_outputPDB(PyObject *, PyObject *);
232
233#endif
234
235// version
236// $Id$
237
238// End of file
Note: See TracBrowser for help on using the repository browser.