aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xgandalf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/xgandalf.h')
-rw-r--r--libcrystfel/src/xgandalf.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/libcrystfel/src/xgandalf.h b/libcrystfel/src/xgandalf.h
index 23c5c1b0..7cc85388 100644
--- a/libcrystfel/src/xgandalf.h
+++ b/libcrystfel/src/xgandalf.h
@@ -34,21 +34,15 @@
#endif
#include <stddef.h>
+#include <argp.h>
/**
* \file xgandalf.h
* XGANDALF indexer interface
*/
-struct xgandalf_options {
- unsigned int sampling_pitch;
- unsigned int grad_desc_iterations;
- float tolerance;
- unsigned int no_deviation_from_provided_cell;
- float minLatticeVectorLength_A;
- float maxLatticeVectorLength_A;
- int maxPeaksForIndexing;
-};
+typedef struct xgandalf_options XGandalfOptions;
+extern struct argp xgandalf_argp;
#include "index.h"