diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-10-19 14:11:55 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-10-19 14:11:55 -0500 |
commit | d55ef4db01ca971470a72fb6394ded2e425f2786 (patch) | |
tree | bef7af67fb1ff7f1e49efc904d43f78103cd0bb5 /src/likelihood.h | |
parent | 3fd77cfe01a585d4f5f5d41be1deb6016190467b (diff) | |
download | sddm-d55ef4db01ca971470a72fb6394ded2e425f2786.tar.gz sddm-d55ef4db01ca971470a72fb6394ded2e425f2786.tar.bz2 sddm-d55ef4db01ca971470a72fb6394ded2e425f2786.zip |
add MIN_RATIO_FAST to speed up the "fast" likelihood calculation
Diffstat (limited to 'src/likelihood.h')
-rw-r--r-- | src/likelihood.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/likelihood.h b/src/likelihood.h index 406c7ea..b326d5d 100644 --- a/src/likelihood.h +++ b/src/likelihood.h @@ -17,6 +17,8 @@ * probabilities which are 10 million times less likely than the most probable * value for n. */ #define MIN_RATIO -10 +/* Same as above but for the "fast" likelihood calculation. */ +#define MIN_RATIO_FAST -2 /* The fraction of reflected light which is detected. */ #define CHARGE_FRACTION 0.5 |