aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-20 16:43:59 +0100
committerThomas White <taw@physics.org>2010-01-20 16:43:59 +0100
commitbb85b0fdaa705ed2078fa2d1222792dfdc2a625d (patch)
tree0859b2175fc7dc20b0765df58e726e7460fa2f6f /src/peaks.c
parent504245c1f0f501bf5f04f72eeb4e1a5f60fdc40d (diff)
Better parameterisation of the streak region
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peaks.c b/src/peaks.c
index 502c5dad..88a96461 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -32,8 +32,8 @@
static int in_streak(int x, int y)
{
- if ( (y>512) && (y<768) && (abs(x-493)<15) ) return 1;
- if ( (y>768) && (abs(x-480)<15) ) return 1;
+ if ( (y>512) && (y<600) && (abs(x-489)<15) ) return 1;
+ if ( (y>600) && (abs(x-480)<25) ) return 1;
return 0;
}