aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-13 13:35:04 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commit6b0102b7724f1721d077e34ddf0797e1ebc6fabe (patch)
tree1ac9e114e274b1ef1baa7a8743da1676ed659cf8 /src/process_image.h
parentbc52cf8165fc50a2755ee9b94992788dbd942c5c (diff)
Peak search stuff
Diffstat (limited to 'src/process_image.h')
-rw-r--r--src/process_image.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/process_image.h b/src/process_image.h
index 7c2d4781..a54d9224 100644
--- a/src/process_image.h
+++ b/src/process_image.h
@@ -44,17 +44,7 @@ struct index_args;
#include "integration.h"
#include "im-sandbox.h"
#include "time-accounts.h"
-
-
-enum {
- PEAK_PEAKFINDER9,
- PEAK_PEAKFINDER8,
- PEAK_ZAEF,
- PEAK_HDF5,
- PEAK_CXI,
- PEAK_MSGPACK,
- PEAK_NONE,
-};
+#include "peaks.h"
/* Information about the indexing process which is common to all patterns */
@@ -70,7 +60,7 @@ struct index_args
int check_hdf5_snr;
struct detector *det;
IndexingPrivate *ipriv;
- int peaks; /* Peak detection method */
+ enum peak_search_method peaks;
float tols[6];
struct beam_params *beam;
char *hdf5_peak_path;