aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/xds.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-18 15:23:05 +0100
committerThomas White <taw@physics.org>2013-02-18 15:23:05 +0100
commit277197d8f482229e29b05db1fa4adc866c72e1ee (patch)
tree0506cc3dd378500d9429f51ae11be35cb37fa52b /libcrystfel/src/xds.h
parent31ec28ea0258bbb2272afa4346b55b183a43410c (diff)
Update XDS for new indexing subsystem
Diffstat (limited to 'libcrystfel/src/xds.h')
-rw-r--r--libcrystfel/src/xds.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/libcrystfel/src/xds.h b/libcrystfel/src/xds.h
index edf83b0b..7dd7c6a8 100644
--- a/libcrystfel/src/xds.h
+++ b/libcrystfel/src/xds.h
@@ -5,6 +5,7 @@
*
* Copyright © 2013 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
+ * Copyright © 2013 Cornelius Gati
*
* Authors:
* 2010-2013 Thomas White <taw@physics.org>
@@ -27,17 +28,23 @@
*
*/
-#ifndef xds_H
-#define xds_H
+#ifndef XDS_H
+#define XDS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "cell.h"
+#include "index.h"
-extern void run_xds(struct image *image, UnitCell *cell);
+extern int run_xds(struct image *image, IndexingPrivate *ipriv);
+extern IndexingPrivate *xds_prepare(IndexingMethod *indm, UnitCell *cell,
+ const char *filename, struct detector *det,
+ struct beam_params *beam, float *ltl);
+
+extern void xds_cleanup(IndexingPrivate *pp);
#endif /* XDS_H */