aboutsummaryrefslogtreecommitdiff
path: root/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-29 17:37:49 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commit0da8b0efa29a1d581a15ffacafec5e1e5dec76ea (patch)
treeee465c0fe0710520882a16fe6328c12a12e22380 /src/detector.h
parentfb8fc1fab3792488e5f3ab0e2ef9ed89189c47d9 (diff)
Move get_q() and get_tt() to detector.c
Diffstat (limited to 'src/detector.h')
-rw-r--r--src/detector.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/detector.h b/src/detector.h
index 128332fd..df40d05b 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -45,6 +45,11 @@ struct detector
extern int map_position(struct image *image, double x, double y,
double *rx, double *ry, double *rz);
+extern struct rvec get_q(struct image *image, unsigned int xs, unsigned int ys,
+ unsigned int sampling, float *ttp, float k);
+
+extern double get_tt(struct image *image, unsigned int xs, unsigned int ys);
+
extern void record_image(struct image *image, int do_poisson);
extern struct panel *find_panel(struct detector *det, int x, int y);