aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-12-18 14:00:56 +0100
committerThomas White <taw@physics.org>2015-12-18 14:00:56 +0100
commitd2a2f1928752e518ac7b8798175fd9a010674dd0 (patch)
tree12cb3ee6d5deba1d0bfd978f4c1e6340aafc5f4e /libcrystfel/src/image.h
parentafbb6c8dcce4cc10292c93c3ef9b7e1321add660 (diff)
"Retry" mechanism for indexing
This increases the indexing rate a bit in situations where there are lots of weak peaks which, although they may be real, don't help indexing. The weakest 10% of peaks get cut out and the indexing re-run. This also allows multiple hits to be indexed, using the "inelegant peak subtraction method", by retrying indexing in the same way after deleting peaks which are accounted for by the lattice just found.
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 37904308..e9cd76fc 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -224,6 +224,7 @@ extern Reflection *image_reflection_closest(RefList *rlist,
extern int image_feature_count(ImageFeatureList *flist);
extern struct imagefeature *image_get_feature(ImageFeatureList *flist, int idx);
+extern ImageFeatureList *sort_peaks(ImageFeatureList *flist);
extern void image_add_crystal(struct image *image, Crystal *cryst);
extern void free_all_crystals(struct image *image);