diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-02-17 10:38:57 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-02-17 10:38:57 +0100 |
commit | 8ef8fa59cbd8afac2375c5dbb1acc524ac322fbc (patch) | |
tree | 100537dfe02d64ce1b2d59f3c95485bd8b5e2146 /src/peaks.c | |
parent | 858aee656ef46d89bd26095bb88b28574cfe7212 (diff) |
WIP on per-panel detector geometry
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peaks.c b/src/peaks.c index c94b5aa8..fafbe696 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -450,9 +450,9 @@ void dump_peaks(struct image *image) && (y >= image->det.panels[p].min_y) && (y <= image->det.panels[p].max_y) ) { rcx = ((double)x - image->det.panels[p].cx) - / image->resolution; + / image->det.panels[p].res; rcy = ((double)y - image->det.panels[p].cy) - / image->resolution; + / image->det.panels[p].res; found = 1; } } |