aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/predict-refine.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/predict-refine.h')
-rw-r--r--libcrystfel/src/predict-refine.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/libcrystfel/src/predict-refine.h b/libcrystfel/src/predict-refine.h
index 91b44e07..5e2552e6 100644
--- a/libcrystfel/src/predict-refine.h
+++ b/libcrystfel/src/predict-refine.h
@@ -29,24 +29,31 @@
#ifndef PREDICT_REFINE_H
#define PREDICT_REFINE_H
+struct reflpeak;
#include "crystal.h"
+#include "crystfel-mille.h"
-struct image;
-
-typedef void *Mille;
+struct reflpeak {
+ Reflection *refl;
+ struct imagefeature *peak;
+ double Ih; /* normalised */
+ struct detgeom_panel *panel; /* panel the reflection appears on
+ * (we assume this never changes) */
+};
/**
* \file predict-refine.h
* Prediction refinement: refinement of indexing solutions before integration.
*/
-extern Mille *crystfel_mille_new(const char *outFileName,
- int asBinary,
- int writeZero);
-extern void crystfel_mille_free(Mille *m);
-
extern int refine_prediction(struct image *image, Crystal *cr, Mille *mille);
+
extern int refine_radius(Crystal *cr, struct image *image);
+extern double x_dev(struct reflpeak *rp, struct detgeom *det,
+ double dx, double dy);
+
+extern double y_dev(struct reflpeak *rp, struct detgeom *det,
+ double dx, double dy);
#endif /* PREDICT_REFINE_H */