aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-26 10:58:13 +0100
committerThomas White <taw@physics.org>2010-02-26 13:40:11 +0100
commit86dd71e8640394f4e4f5aa71b2e5f51f5fea4a11 (patch)
treee7039c5d4e9b5477bc1e350e0330d157125d5c9f /src/peaks.c
parentb4664bc2a399463bd4e01f331a153749b3947b8f (diff)
Handle images as floats rather than int16_t
Also, remove bloom - it's not a useful model for what really happens and takes too long (this isn't a detector simulation..)
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 8e757c40..506263b2 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -307,7 +307,7 @@ static void integrate_peak(struct image *image, int xp, int yp,
void search_peaks(struct image *image)
{
int x, y, width, height;
- int16_t *data;
+ float *data;
data = image->data;
width = image->width;