source: sasview/sansmodels/src/libigor/GaussWeights.h @ a55fac1

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.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since a55fac1 was ae3ce4e, checked in by Mathieu Doucet <doucetm@…>, 16 years ago

Moving sansmodels to trunk

  • Property mode set to 100644
File size: 4.6 KB
Line 
1/*
2 *  GaussWeights.h
3 *  SANSAnalysis
4 *
5 *  Created by Andrew Jackson on 4/23/07.
6 *
7 */
8
9// Gaussians
10static double Gauss20Wt[20]={
11        .0176140071391521,
12        .0406014298003869,
13        .0626720483341091,
14        .0832767415767047,
15        .10193011981724,
16        .118194531961518,
17        .131688638449177,
18        .142096109318382,
19        .149172986472604,
20        .152753387130726,
21        .152753387130726,
22        .149172986472604,
23        .142096109318382,
24        .131688638449177,
25        .118194531961518,
26        .10193011981724,
27        .0832767415767047,
28        .0626720483341091,
29        .0406014298003869,
30        .0176140071391521
31};
32
33static double Gauss20Z[20]={
34        -.993128599185095,
35        -.963971927277914,
36        -.912234428251326,
37        -.839116971822219,
38        -.746331906460151,
39        -.636053680726515,
40        -.510867001950827,
41        -.37370608871542,
42        -.227785851141645,
43        -.076526521133497,
44        .0765265211334973,
45        .227785851141645,
46        .37370608871542,
47        .510867001950827,
48        .636053680726515,
49        .746331906460151,
50        .839116971822219,
51        .912234428251326,
52        .963971927277914,
53        .993128599185095
54};
55
56static double Gauss76Wt[76]={
57        .00126779163408536,             //0
58        .00294910295364247,
59        .00462793522803742,
60        .00629918049732845,
61        .00795984747723973,
62        .00960710541471375,
63        .0112381685696677,
64        .0128502838475101,
65        .0144407317482767,
66        .0160068299122486,
67        .0175459372914742,              //10
68        .0190554584671906,
69        .020532847967908,
70        .0219756145344162,
71        .0233813253070112,
72        .0247476099206597,
73        .026072164497986,
74        .0273527555318275,
75        .028587223650054,
76        .029773487255905,
77        .0309095460374916,              //20
78        .0319934843404216,
79        .0330234743977917,
80        .0339977794120564,
81        .0349147564835508,
82        .0357728593807139,
83        .0365706411473296,
84        .0373067565423816,
85        .0379799643084053,
86        .0385891292645067,
87        .0391332242205184,              //30
88        .0396113317090621,
89        .0400226455325968,
90        .040366472122844,
91        .0406422317102947,
92        .0408494593018285,
93        .040987805464794,
94        .0410570369162294,
95        .0410570369162294,
96        .040987805464794,
97        .0408494593018285,              //40
98        .0406422317102947,
99        .040366472122844,
100        .0400226455325968,
101        .0396113317090621,
102        .0391332242205184,
103        .0385891292645067,
104        .0379799643084053,
105        .0373067565423816,
106        .0365706411473296,
107        .0357728593807139,              //50
108        .0349147564835508,
109        .0339977794120564,
110        .0330234743977917,
111        .0319934843404216,
112        .0309095460374916,
113        .029773487255905,
114        .028587223650054,
115        .0273527555318275,
116        .026072164497986,
117        .0247476099206597,              //60
118        .0233813253070112,
119        .0219756145344162,
120        .020532847967908,
121        .0190554584671906,
122        .0175459372914742,
123        .0160068299122486,
124        .0144407317482767,
125        .0128502838475101,
126        .0112381685696677,
127        .00960710541471375,             //70
128        .00795984747723973,
129        .00629918049732845,
130        .00462793522803742,
131        .00294910295364247,
132        .00126779163408536              //75 (indexed from 0)
133};
134static double Gauss76Z[76]={
135         .999505948362153*(-1.0),               //0
136         .997397786355355*(-1.0),
137         .993608772723527*(-1.0),
138         .988144453359837*(-1.0),
139         .981013938975656*(-1.0),
140         .972229228520377*(-1.0),
141         .961805126758768*(-1.0),
142         .949759207710896*(-1.0),
143         .936111781934811*(-1.0),
144         .92088586125215*(-1.0),
145         .904107119545567*(-1.0),               //10
146         .885803849292083*(-1.0),
147         .866006913771982*(-1.0),
148         .844749694983342*(-1.0),
149         .822068037328975*(-1.0),
150         .7980001871612*(-1.0),
151         .77258672828181*(-1.0),
152         .74587051350361*(-1.0),
153         .717896592387704*(-1.0),
154         .688712135277641*(-1.0),
155         .658366353758143*(-1.0),               //20
156         .626910417672267*(-1.0),
157         .594397368836793*(-1.0),
158         .560882031601237*(-1.0),
159         .526420920401243*(-1.0),
160         .491072144462194*(-1.0),
161         .454895309813726*(-1.0),
162         .417951418780327*(-1.0),
163         .380302767117504*(-1.0),
164         .342012838966962*(-1.0),
165         .303146199807908*(-1.0),               //30
166         .263768387584994*(-1.0),
167         .223945802196474*(-1.0),
168         .183745593528914*(-1.0),
169         .143235548227268*(-1.0),
170         .102483975391227*(-1.0),
171         .0615595913906112*(-1.0),
172         .0205314039939986*(-1.0),
173        -.0205314039939986*(-1.0),
174        -.0615595913906112*(-1.0),
175        -.102483975391227*(-1.0),                       //40
176        -.143235548227268*(-1.0),
177        -.183745593528914*(-1.0),
178        -.223945802196474*(-1.0),
179        -.263768387584994*(-1.0),
180        -.303146199807908*(-1.0),
181        -.342012838966962*(-1.0),
182        -.380302767117504*(-1.0),
183        -.417951418780327*(-1.0),
184        -.454895309813726*(-1.0),
185        -.491072144462194*(-1.0),               //50
186        -.526420920401243*(-1.0),
187        -.560882031601237*(-1.0),
188        -.594397368836793*(-1.0),
189        -.626910417672267*(-1.0),
190        -.658366353758143*(-1.0),
191        -.688712135277641*(-1.0),
192        -.717896592387704*(-1.0),
193        -.74587051350361*(-1.0),
194        -.77258672828181*(-1.0),
195        -.7980001871612*(-1.0), //60
196        -.822068037328975*(-1.0),
197        -.844749694983342*(-1.0),
198        -.866006913771982*(-1.0),
199        -.885803849292083*(-1.0),
200        -.904107119545567*(-1.0),
201        -.92088586125215*(-1.0),
202        -.936111781934811*(-1.0),
203        -.949759207710896*(-1.0),
204        -.961805126758768*(-1.0),
205        -.972229228520377*(-1.0),               //70
206        -.981013938975656*(-1.0),
207        -.988144453359837*(-1.0),
208        -.993608772723527*(-1.0),
209        -.997397786355355*(-1.0),
210        -.999505948362153*(-1.0)                //75
211};
212
213
214
Note: See TracBrowser for help on using the repository browser.