diff options
| author | tlatorre <tlatorre@uchicago.edu> | 2019-06-14 12:21:58 -0500 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2019-06-14 12:21:58 -0500 |
| commit | 1637b9fc877c6abb931143d5e00af231ede552c0 (patch) | |
| tree | 1170547d6c4465b63c95f88fea6df7939c967b53 /src/sno_charge.h | |
| parent | f8c99fdd302b6d2190ae619681fb1cea5f74f391 (diff) | |
| download | sddm-1637b9fc877c6abb931143d5e00af231ede552c0.tar.gz sddm-1637b9fc877c6abb931143d5e00af231ede552c0.tar.bz2 sddm-1637b9fc877c6abb931143d5e00af231ede552c0.zip | |
add a function to compute the most likely number of PE given an observed charge
Also, call this function when computing the psi parameter in nll_best().
Diffstat (limited to 'src/sno_charge.h')
| -rw-r--r-- | src/sno_charge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sno_charge.h b/src/sno_charge.h index 141ad28..549ca2c 100644 --- a/src/sno_charge.h +++ b/src/sno_charge.h @@ -17,6 +17,7 @@ #ifndef SNO_CHARGE_H #define SNO_CHARGE_H +double get_most_likely_mean_pe(double q); void init_charge(void); double get_log_pq(double q, int n); double get_pq(double q, int n); |
