aboutsummaryrefslogtreecommitdiff
path: root/src/quad.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-12-07 13:40:35 -0600
committertlatorre <tlatorre@uchicago.edu>2018-12-07 13:40:35 -0600
commit446651cb84f566387390fbd9e4f8bf315405963b (patch)
tree32208012121ea2573f9332826682dca1846f3c95 /src/quad.h
parentde173c02ee172491d5f8c0256e5b9d264493dd69 (diff)
downloadsddm-446651cb84f566387390fbd9e4f8bf315405963b.tar.gz
sddm-446651cb84f566387390fbd9e4f8bf315405963b.tar.bz2
sddm-446651cb84f566387390fbd9e4f8bf315405963b.zip
add the QUAD fitter
Diffstat (limited to 'src/quad.h')
-rw-r--r--src/quad.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quad.h b/src/quad.h
new file mode 100644
index 0000000..730f45d
--- /dev/null
+++ b/src/quad.h
@@ -0,0 +1,14 @@
+#ifndef QUAD_H
+#define QUAD_H
+
+#include "event.h"
+#include <stdlib.h> /* for size_t */
+
+/* Maximum number of quad cloud points. */
+#define QUAD_MAX 10000
+
+extern char quad_err[256];
+
+int quad(event *ev, double *pos, double *t0, size_t npoints);
+
+#endif