Commit 58ae32a
committed
Expand predictive output options and update tests
Added 'predictive_posterior' as a valid output option for model results, updated output normalization logic, and clarified documentation for output choices and memory usage. Refactored and extended tests to verify correct behavior for new and existing output combinations, and improved code formatting and assertion messages for clarity and consistency.1 parent 096471e commit 58ae32a
File tree
9 files changed
+183
-89
lines changed- src/non_local_detector
- likelihoods
- models
- tests
- likelihoods
- models
9 files changed
+183
-89
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
326 | 324 | | |
327 | 325 | | |
328 | 326 | | |
329 | | - | |
330 | 327 | | |
331 | 328 | | |
332 | 329 | | |
| |||
483 | 480 | | |
484 | 481 | | |
485 | 482 | | |
486 | | - | |
487 | 483 | | |
488 | 484 | | |
489 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
70 | | - | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | | - | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
89 | | - | |
| 96 | + | |
| 97 | + | |
90 | 98 | | |
91 | 99 | | |
92 | 100 | | |
| |||
2233 | 2241 | | |
2234 | 2242 | | |
2235 | 2243 | | |
2236 | | - | |
| 2244 | + | |
| 2245 | + | |
2237 | 2246 | | |
2238 | 2247 | | |
2239 | | - | |
| 2248 | + | |
2240 | 2249 | | |
2241 | 2250 | | |
2242 | 2251 | | |
2243 | 2252 | | |
2244 | 2253 | | |
2245 | 2254 | | |
2246 | | - | |
| 2255 | + | |
| 2256 | + | |
2247 | 2257 | | |
2248 | 2258 | | |
2249 | | - | |
2250 | | - | |
2251 | | - | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2252 | 2262 | | |
2253 | 2263 | | |
2254 | 2264 | | |
| |||
2276 | 2286 | | |
2277 | 2287 | | |
2278 | 2288 | | |
2279 | | - | |
| 2289 | + | |
2280 | 2290 | | |
| 2291 | + | |
2281 | 2292 | | |
2282 | 2293 | | |
2283 | 2294 | | |
| |||
2406 | 2417 | | |
2407 | 2418 | | |
2408 | 2419 | | |
2409 | | - | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
2410 | 2423 | | |
2411 | 2424 | | |
2412 | 2425 | | |
| |||
3087 | 3100 | | |
3088 | 3101 | | |
3089 | 3102 | | |
3090 | | - | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
3091 | 3106 | | |
3092 | 3107 | | |
3093 | 3108 | | |
| |||
Lines changed: 29 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
| |||
208 | 213 | | |
209 | 214 | | |
210 | 215 | | |
211 | | - | |
212 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
213 | 222 | | |
214 | 223 | | |
215 | 224 | | |
216 | 225 | | |
217 | 226 | | |
218 | 227 | | |
219 | | - | |
| 228 | + | |
220 | 229 | | |
| 230 | + | |
221 | 231 | | |
222 | 232 | | |
223 | 233 | | |
224 | | - | |
225 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
226 | 240 | | |
227 | 241 | | |
228 | | - | |
229 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
230 | 248 | | |
231 | 249 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 25 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
181 | | - | |
| 183 | + | |
182 | 184 | | |
| 185 | + | |
183 | 186 | | |
184 | 187 | | |
185 | | - | |
| 188 | + | |
186 | 189 | | |
| 190 | + | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
| |||
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
222 | | - | |
223 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
224 | 232 | | |
225 | 233 | | |
226 | | - | |
| 234 | + | |
227 | 235 | | |
| 236 | + | |
228 | 237 | | |
229 | 238 | | |
230 | 239 | | |
| |||
298 | 307 | | |
299 | 308 | | |
300 | 309 | | |
301 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
302 | 313 | | |
303 | 314 | | |
304 | 315 | | |
305 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
306 | 320 | | |
307 | 321 | | |
308 | 322 | | |
309 | 323 | | |
310 | 324 | | |
311 | 325 | | |
312 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
313 | 329 | | |
314 | 330 | | |
315 | 331 | | |
| |||
Lines changed: 12 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 160 | + | |
165 | 161 | | |
166 | 162 | | |
167 | 163 | | |
| |||
191 | 187 | | |
192 | 188 | | |
193 | 189 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 190 | + | |
197 | 191 | | |
198 | 192 | | |
199 | 193 | | |
| |||
404 | 398 | | |
405 | 399 | | |
406 | 400 | | |
407 | | - | |
408 | | - | |
409 | | - | |
| 401 | + | |
410 | 402 | | |
411 | 403 | | |
412 | 404 | | |
| |||
454 | 446 | | |
455 | 447 | | |
456 | 448 | | |
457 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
458 | 453 | | |
459 | 454 | | |
460 | 455 | | |
| |||
522 | 517 | | |
523 | 518 | | |
524 | 519 | | |
525 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
526 | 524 | | |
527 | 525 | | |
528 | 526 | | |
| |||
0 commit comments