diff options
Diffstat (limited to 'src/detector.h')
-rw-r--r-- | src/detector.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/detector.h b/src/detector.h index f71768c6..d6e740a0 100644 --- a/src/detector.h +++ b/src/detector.h @@ -38,7 +38,12 @@ struct detector int n_panels; }; -extern void record_image(struct image *image, int do_water, int do_poisson); + +/* x,y in pixels relative to central beam */ +extern int map_position(struct image *image, double x, double y, + double *rx, double *ry, double *rz); + +extern void record_image(struct image *image, int do_poisson); extern struct panel *find_panel(struct detector *det, int x, int y); |