Physics & Measurement
These modules handle the core physical calculations.
Image Quality Measurement
flexpose.measure
Measure
Source code in flexpose/measure.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | |
calc_entrance_kerma(res)
Convert DAP to air kerma rate for constraints and add to results
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
res
|
dict
|
Results dictionary containing exposure parameters |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Updated results with entrance kerma rate |
Source code in flexpose/measure.py
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | |
calc_img_quality(kv, t, ma)
Calculate image quality metrics for given exposure parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Dictionary of image quality metrics. |
Source code in flexpose/measure.py
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | |
measure_contrast(kv)
Measure image contrast for a given kV value
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Calculated contrast value |
Source code in flexpose/measure.py
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | |
measure_det_dose_bg(kv, t, ma)
Measure detector dose in background region
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
t
|
float
|
Exposure time |
required |
ma
|
float
|
Tube current (mA) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Detector dose in background. |
Source code in flexpose/measure.py
243 244 245 246 247 248 249 250 251 252 253 254 255 256 | |
measure_det_dose_bg_p(kv, t, ma)
Measure detector dose for primary background region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Detector dose for primary background. |
Source code in flexpose/measure.py
258 259 260 261 262 263 264 265 266 267 268 269 270 271 | |
measure_det_dose_obj(kv, t, ma)
Measure detector dose (primary plus scatter) in object region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Detector dose (primary plus scatter) in object region. |
Source code in flexpose/measure.py
273 274 275 276 277 278 279 280 281 282 283 284 285 286 | |
measure_det_dose_obj_p(kv, t, ma)
Measure detector dose for primaries in the object region
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Detector dose for primaries in the object region |
Source code in flexpose/measure.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 | |
measure_det_kerma(kv, t, ma)
Measure detector kerma for given exposure parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Detector kerma value. |
Source code in flexpose/measure.py
303 304 305 306 307 308 309 310 311 312 313 314 315 316 | |
measure_noise(kv, t, ma)
Measure total noise (quantum + electronic) for given exposure parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Total noise value. |
Source code in flexpose/measure.py
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | |
measure_pixel_noise_bg(kv, t, ma)
Measure pixel noise in background region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Pixel noise in background. |
Source code in flexpose/measure.py
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | |
measure_pixel_noise_obj(kv, t, ma)
Measure pixel noise in object region.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
Pixel noise in object region. |
Source code in flexpose/measure.py
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 | |
measure_snr(kv, t, ma)
Measure signal-to-noise ratio (SNR) for given exposure parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
t
|
float
|
Exposure time. |
required |
ma
|
float
|
Tube current (mA). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
SNR value. |
Source code in flexpose/measure.py
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | |
sample_pixels()
Sample pixel values from the provided pixel results
Source code in flexpose/measure.py
37 38 39 40 41 | |
set_rng(rng)
Set the random number generator for reproducibility
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rng
|
Generator | None
|
Random number generator instance |
required |
Source code in flexpose/measure.py
28 29 30 31 32 33 34 35 | |
Dose Calculations
flexpose.dose
CalcDose
Source code in flexpose/dose.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | |
integrate_quantity(quantity, unc, kv)
Integrate the quantity and uncertainty over the spectrum probabilities for a given kV.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
quantity
|
ndarray
|
Quantity array. |
required |
unc
|
ndarray
|
Uncertainty array. |
required |
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[float, float]
|
(integrated quantity, integrated uncertainty) |
Source code in flexpose/dose.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
obtain_all_quantities()
Calculate and store all dosimetry quantities for all kV values.
Source code in flexpose/dose.py
141 142 143 144 145 146 147 148 149 150 151 152 153 | |
obtain_quantities()
Parallelize the dose calculations for all kV values and update export DataFrame.
Source code in flexpose/dose.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | |
obtain_quantity_unc(kv)
Obtain the mean and standard deviation for a given kV, converting units if needed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[float, float]
|
(mean, standard deviation) |
Source code in flexpose/dose.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
quantity_and_sample()
Get the quantity and uncertainty arrays from the dose table.
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(quantity array, uncertainty array) |
Source code in flexpose/dose.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
save_doses()
Save calculated dose values to local CSV files.
Source code in flexpose/dose.py
156 157 158 159 160 161 162 163 164 165 166 | |
Pixel & SNR Mapping
flexpose.pixel
CalcPixel
Source code in flexpose/pixel.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 | |
calc_snr(kv)
Return a dictionary containing the quantities required to estimate the SNR for a specific kV.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
SNR-related quantities for the given kV. |
Source code in flexpose/pixel.py
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | |
create_snr_map()
Parallelize the SNR calculations and create pixel maps for all kV values.
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Dictionary containing pixel maps for all kV values. |
Source code in flexpose/pixel.py
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 | |
get_contrast(kv)
Calculate the contrast difference between the contrast object and the background
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: Contrast difference array. |
Source code in flexpose/pixel.py
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | |
get_detector_kerma(kv)
Calculate the detector air kerma.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(kerma, uncertainty) |
Source code in flexpose/pixel.py
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 | |
get_noise_primary(kv, mode)
Calculate the second moment of energy deposition from primary photons.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
mode
|
str
|
'background' or 'object'. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(variance, uncertainty) |
Source code in flexpose/pixel.py
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 | |
get_noise_scatter(kv)
Calculate the second moment of energy deposition from scattered photons.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(variance, uncertainty) |
Source code in flexpose/pixel.py
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 | |
get_quantity(kv, source, mu, quantity)
Get the image quality quantities from input dicts and integrate them over the x-ray spectrum.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
source
|
SpectralSet
|
SpectralSet, must have fields N, E, SM, and optional kerma. |
required |
mu
|
(2, M | None)
|
[energies_keV, mu_values] Attenuation coefficients or None. |
required |
quantity
|
str
|
Quantity type. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(quantity, uncertainty) arrays. |
Source code in flexpose/pixel.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | |
get_signal_difference(kv)
Calculate the signal difference between the contrast object and the background
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: Signal difference array |
Source code in flexpose/pixel.py
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | |
get_total_noise(kv, mode)
Combine the noise from primary and scattered photons.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
mode
|
str
|
'background' or 'object'. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray]
|
(total noise, uncertainty) |
Source code in flexpose/pixel.py
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | |
get_total_signal(kv, mode)
Calculate the total signal and uncertainty for background or object mode.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV). |
required |
mode
|
str
|
'background' or 'object'. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple[ndarray, ndarray, ndarray, ndarray]
|
(primary signal, primary uncertainty, total signal, total uncertainty) |
Source code in flexpose/pixel.py
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 | |
save_snr_map(dict_results)
Save the pixel maps into a dictionary for a specified folder.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dict_results
|
dict
|
Dictionary containing pixel maps. |
required |
Source code in flexpose/pixel.py
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 | |
Water Equivalent Thickness (WET)
flexpose.wet
CalcWET
Calculates Water Equivalent Thickness (WET) maps
Source code in flexpose/wet.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | |
create_look_up_table(kv)
Create a lookup table for WET values at a given kV
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
(interpolated thickness array, interpolated values array) |
Source code in flexpose/wet.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
create_wet_map(thick)
Parallelize WET map calculations for all kV values at a given thickness
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
thick
|
int
|
Thickness value |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Dictionary containing WET maps for all kV values |
Source code in flexpose/wet.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | |
create_wet_map_thicks()
Calculate WET maps for all thickness values and store results
Source code in flexpose/wet.py
177 178 179 180 181 182 183 184 | |
find_thick_all_kv(dict_image_phantom)
Find thickness maps for all kV values using phantom image data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dict_image_phantom
|
dict
|
Dictionary of phantom image data. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Dictionary of thickness maps for all kV values. |
Source code in flexpose/wet.py
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | |
find_thick_kv(image_signal, interp_thick, interp_vals)
Find equivalent thickness for a given image signal using interpolation arrays.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
image_signal
|
ndarray
|
Image signal array. |
required |
interp_thick
|
ndarray
|
Interpolated thickness array. |
required |
interp_vals
|
ndarray
|
Interpolated values array. |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: Estimated thickness array. |
Source code in flexpose/wet.py
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | |
integrate_signal(kv, wet, rng)
Integrate signal for a given kV using WET data and random sampling
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
wet
|
dict
|
WET data dictionary |
required |
rng
|
Generator
|
Random number generator |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
np.ndarray: Integrated signal array |
Source code in flexpose/wet.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
sample_signal(kv, rng)
Sample signal for a given kV multiple times and return mean and uncertainty
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kv
|
int
|
Tube potential (kV) |
required |
rng
|
Generator
|
Random number generator |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
Dictionary with mean and uncertainty of signal |
Source code in flexpose/wet.py
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |