aboutsummaryrefslogtreecommitdiff
path: root/src/test-find-peaks.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2020-11-16 10:05:25 -0600
committertlatorre <tlatorre@uchicago.edu>2020-11-16 10:05:25 -0600
commit8117ba49eea965eaf736ca869f2f67e0a8e9de6a (patch)
treebbe7b8312321b24c04636ecbf5ef5a185efc230b /src/test-find-peaks.c
parent8ddd9009444486479cb54a6f3e3e24eaf2124ca0 (diff)
downloadsddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.tar.gz
sddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.tar.bz2
sddm-8117ba49eea965eaf736ca869f2f67e0a8e9de6a.zip
update fit to fit events from the salt phase
This commit updates both the PMT response and optics code to be able to load constants from the salt phase.
Diffstat (limited to 'src/test-find-peaks.c')
-rw-r--r--src/test-find-peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-find-peaks.c b/src/test-find-peaks.c
index fd8d0cd..4e1ac84 100644
--- a/src/test-find-peaks.c
+++ b/src/test-find-peaks.c
@@ -269,7 +269,7 @@ int main(int argc, char **argv)
goto err;
}
- if (optics_init()) {
+ if (optics_init(10000)) {
fprintf(stderr, "failed to initialize optics: %s\n", optics_err);
goto err;
}