diff options
author | Thomas White <taw@physics.org> | 2010-02-26 16:47:27 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-26 16:54:59 +0100 |
commit | 7d8662ffe897dc2438141ecc8848863bad9b9d92 (patch) | |
tree | 46af84456de347220cfcb363c3b4e4ef70362f40 /src/detector.h | |
parent | 86dd71e8640394f4e4f5aa71b2e5f51f5fea4a11 (diff) |
Move water calculation to diffraction.c, and work out the consequences
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); |