From d55ef4db01ca971470a72fb6394ded2e425f2786 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Fri, 19 Oct 2018 14:11:55 -0500 Subject: add MIN_RATIO_FAST to speed up the "fast" likelihood calculation --- src/likelihood.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/likelihood.h') 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 -- cgit