source: sasmodels/sasmodels/models/lib/gauss150.c @ 74768cb

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 74768cb was 74768cb, checked in by Paul Kienzle <pkienzle@…>, 6 years ago

update models to use generic GAUSS_N, GAUSS_Z, GAUSS_W rather than specific gauss size

  • Property mode set to 100644
File size: 7.3 KB
Line 
1/*
2 *  GaussWeights.c
3 *  SANSAnalysis
4 *
5 *  Created by Andrew Jackson on 4/23/07.
6 *  Copyright 2007 __MyCompanyName__. All rights reserved.
7 *
8 */
9 #ifdef GAUSS_N
10 # undef GAUSS_N
11 # undef GAUSS_Z
12 # undef GAUSS_W
13 #endif
14 #define GAUSS_N 150
15 #define GAUSS_Z Gauss150Z
16 #define GAUSS_W Gauss150Wt
17
18// Note: using array size 152 so that it is a multiple of 4
19
20// Gaussians
21constant double Gauss150Z[152]={
22        -0.9998723404457334,
23        -0.9993274305065947,
24        -0.9983473449340834,
25        -0.9969322929775997,
26        -0.9950828645255290,
27        -0.9927998590434373,
28        -0.9900842691660192,
29        -0.9869372772712794,
30        -0.9833602541697529,
31        -0.9793547582425894,
32        -0.9749225346595943,
33        -0.9700655145738374,
34        -0.9647858142586956,
35        -0.9590857341746905,
36        -0.9529677579610971,
37        -0.9464345513503147,
38        -0.9394889610042837,
39        -0.9321340132728527,
40        -0.9243729128743136,
41        -0.9162090414984952,
42        -0.9076459563329236,
43        -0.8986873885126239,
44        -0.8893372414942055,
45        -0.8795995893549102,
46        -0.8694786750173527,
47        -0.8589789084007133,
48        -0.8481048644991847,
49        -0.8368612813885015,
50        -0.8252530581614230,
51        -0.8132852527930605,
52        -0.8009630799369827,
53        -0.7882919086530552,
54        -0.7752772600680049,
55        -0.7619248049697269,
56        -0.7482403613363824,
57        -0.7342298918013638,
58        -0.7198995010552305,
59        -0.7052554331857488,
60        -0.6903040689571928,
61        -0.6750519230300931,
62        -0.6595056411226444,
63        -0.6436719971150083,
64        -0.6275578900977726,
65        -0.6111703413658551,
66        -0.5945164913591590,
67        -0.5776035965513142,
68        -0.5604390262878617,
69        -0.5430302595752546,
70        -0.5253848818220803,
71        -0.5075105815339176,
72        -0.4894151469632753,
73        -0.4711064627160663,
74        -0.4525925063160997,
75        -0.4338813447290861,
76        -0.4149811308476706,
77        -0.3959000999390257,
78        -0.3766465660565522,
79        -0.3572289184172501,
80        -0.3376556177463400,
81        -0.3179351925907259,
82        -0.2980762356029071,
83        -0.2780873997969574,
84        -0.2579773947782034,
85        -0.2377549829482451,
86        -0.2174289756869712,
87        -0.1970082295132342,
88        -0.1765016422258567,
89        -0.1559181490266516,
90        -0.1352667186271445,
91        -0.1145563493406956,
92        -0.0937960651617229,
93        -0.0729949118337358,
94        -0.0521619529078925,
95        -0.0313062657937972,
96        -0.0104369378042598,
97        0.0104369378042598,
98        0.0313062657937972,
99        0.0521619529078925,
100        0.0729949118337358,
101        0.0937960651617229,
102        0.1145563493406956,
103        0.1352667186271445,
104        0.1559181490266516,
105        0.1765016422258567,
106        0.1970082295132342,
107        0.2174289756869712,
108        0.2377549829482451,
109        0.2579773947782034,
110        0.2780873997969574,
111        0.2980762356029071,
112        0.3179351925907259,
113        0.3376556177463400,
114        0.3572289184172501,
115        0.3766465660565522,
116        0.3959000999390257,
117        0.4149811308476706,
118        0.4338813447290861,
119        0.4525925063160997,
120        0.4711064627160663,
121        0.4894151469632753,
122        0.5075105815339176,
123        0.5253848818220803,
124        0.5430302595752546,
125        0.5604390262878617,
126        0.5776035965513142,
127        0.5945164913591590,
128        0.6111703413658551,
129        0.6275578900977726,
130        0.6436719971150083,
131        0.6595056411226444,
132        0.6750519230300931,
133        0.6903040689571928,
134        0.7052554331857488,
135        0.7198995010552305,
136        0.7342298918013638,
137        0.7482403613363824,
138        0.7619248049697269,
139        0.7752772600680049,
140        0.7882919086530552,
141        0.8009630799369827,
142        0.8132852527930605,
143        0.8252530581614230,
144        0.8368612813885015,
145        0.8481048644991847,
146        0.8589789084007133,
147        0.8694786750173527,
148        0.8795995893549102,
149        0.8893372414942055,
150        0.8986873885126239,
151        0.9076459563329236,
152        0.9162090414984952,
153        0.9243729128743136,
154        0.9321340132728527,
155        0.9394889610042837,
156        0.9464345513503147,
157        0.9529677579610971,
158        0.9590857341746905,
159        0.9647858142586956,
160        0.9700655145738374,
161        0.9749225346595943,
162        0.9793547582425894,
163        0.9833602541697529,
164        0.9869372772712794,
165        0.9900842691660192,
166        0.9927998590434373,
167        0.9950828645255290,
168        0.9969322929775997,
169        0.9983473449340834,
170        0.9993274305065947,
171        0.9998723404457334,
172        0.,
173        0.
174};
175
176constant double Gauss150Wt[152]={
177        0.0003276086705538,
178        0.0007624720924706,
179        0.0011976474864367,
180        0.0016323569986067,
181        0.0020663664924131,
182        0.0024994789888943,
183        0.0029315036836558,
184        0.0033622516236779,
185        0.0037915348363451,
186        0.0042191661429919,
187        0.0046449591497966,
188        0.0050687282939456,
189        0.0054902889094487,
190        0.0059094573005900,
191        0.0063260508184704,
192        0.0067398879387430,
193        0.0071507883396855,
194        0.0075585729801782,
195        0.0079630641773633,
196        0.0083640856838475,
197        0.0087614627643580,
198        0.0091550222717888,
199        0.0095445927225849,
200        0.0099300043714212,
201        0.0103110892851360,
202        0.0106876814158841,
203        0.0110596166734735,
204        0.0114267329968529,
205        0.0117888704247183,
206        0.0121458711652067,
207        0.0124975796646449,
208        0.0128438426753249,
209        0.0131845093222756,
210        0.0135194311690004,
211        0.0138484622795371,
212        0.0141714592928592,
213        0.0144882814685445,
214        0.0147987907597169,
215        0.0151028518701744,
216        0.0154003323133401,
217        0.0156911024699895,
218        0.0159750356447283,
219        0.0162520081211971,
220        0.0165218992159766,
221        0.0167845913311726,
222        0.0170399700056559,
223        0.0172879239649355,
224        0.0175283451696437,
225        0.0177611288626114,
226        0.0179861736145128,
227        0.0182033813680609,
228        0.0184126574807331,
229        0.0186139107660094,
230        0.0188070535331042,
231        0.0189920016251754,
232        0.0191686744559934,
233        0.0193369950450545,
234        0.0194968900511231,
235        0.0196482898041878,
236        0.0197911283358190,
237        0.0199253434079123,
238        0.0200508765398072,
239        0.0201676730337687,
240        0.0202756819988200,
241        0.0203748563729175,
242        0.0204651529434560,
243        0.0205465323660984,
244        0.0206189591819181,
245        0.0206824018328499,
246        0.0207368326754401,
247        0.0207822279928917,
248        0.0208185680053983,
249        0.0208458368787627,
250        0.0208640227312962,
251        0.0208731176389954,
252        0.0208731176389954,
253        0.0208640227312962,
254        0.0208458368787627,
255        0.0208185680053983,
256        0.0207822279928917,
257        0.0207368326754401,
258        0.0206824018328499,
259        0.0206189591819181,
260        0.0205465323660984,
261        0.0204651529434560,
262        0.0203748563729175,
263        0.0202756819988200,
264        0.0201676730337687,
265        0.0200508765398072,
266        0.0199253434079123,
267        0.0197911283358190,
268        0.0196482898041878,
269        0.0194968900511231,
270        0.0193369950450545,
271        0.0191686744559934,
272        0.0189920016251754,
273        0.0188070535331042,
274        0.0186139107660094,
275        0.0184126574807331,
276        0.0182033813680609,
277        0.0179861736145128,
278        0.0177611288626114,
279        0.0175283451696437,
280        0.0172879239649355,
281        0.0170399700056559,
282        0.0167845913311726,
283        0.0165218992159766,
284        0.0162520081211971,
285        0.0159750356447283,
286        0.0156911024699895,
287        0.0154003323133401,
288        0.0151028518701744,
289        0.0147987907597169,
290        0.0144882814685445,
291        0.0141714592928592,
292        0.0138484622795371,
293        0.0135194311690004,
294        0.0131845093222756,
295        0.0128438426753249,
296        0.0124975796646449,
297        0.0121458711652067,
298        0.0117888704247183,
299        0.0114267329968529,
300        0.0110596166734735,
301        0.0106876814158841,
302        0.0103110892851360,
303        0.0099300043714212,
304        0.0095445927225849,
305        0.0091550222717888,
306        0.0087614627643580,
307        0.0083640856838475,
308        0.0079630641773633,
309        0.0075585729801782,
310        0.0071507883396855,
311        0.0067398879387430,
312        0.0063260508184704,
313        0.0059094573005900,
314        0.0054902889094487,
315        0.0050687282939456,
316        0.0046449591497966,
317        0.0042191661429919,
318        0.0037915348363451,
319        0.0033622516236779,
320        0.0029315036836558,
321        0.0024994789888943,
322        0.0020663664924131,
323        0.0016323569986067,
324        0.0011976474864367,
325        0.0007624720924706,
326        0.0003276086705538,
327        0.,
328        0.
329};
Note: See TracBrowser for help on using the repository browser.