diff options
author | Thomas White <taw@physics.org> | 2010-01-21 11:01:07 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-01-21 11:06:04 +0100 |
commit | a988540d804e46becd904e894f739423240e0937 (patch) | |
tree | 24d237b2e466843e5bf30e0a784b0649c8a011a0 /src/dirax.c | |
parent | 4f8424fd5406cdfd05a38b101f386fd6d57a2d8a (diff) |
Filter peaks which are obviously due to common mode streaks
Diffstat (limited to 'src/dirax.c')
-rw-r--r-- | src/dirax.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dirax.c b/src/dirax.c index f7a4853c..8f381b8b 100644 --- a/src/dirax.c +++ b/src/dirax.c @@ -342,6 +342,7 @@ void run_dirax(struct image *image, int no_index) struct imagefeature *f; f = image_get_feature(image->features, i); + if ( f == NULL ) continue; fprintf(fh, "%10f %10f %10f %8f\n", f->rx/1e10, f->ry/1e10, f->rz/1e10, 1.0); |