aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reflist.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/reflist.h')
-rw-r--r--libcrystfel/src/reflist.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/libcrystfel/src/reflist.h b/libcrystfel/src/reflist.h
index 3085a2aa..864e871d 100644
--- a/libcrystfel/src/reflist.h
+++ b/libcrystfel/src/reflist.h
@@ -3,11 +3,11 @@
*
* Fast reflection/peak list
*
- * Copyright © 2012-2020 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2021 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2011-2018 Thomas White <taw@physics.org>
+ * 2011-2020 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -29,10 +29,6 @@
#ifndef REFLIST_H
#define REFLIST_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#define SERIAL(h, k, l) ((((h)+512)<<20) + (((k)+512)<<10) + ((l)+512))
#define GET_H(serial) ((((serial) & 0x3ff00000)>>20)-512)
#define GET_K(serial) ((((serial) & 0x000ffc00)>>10)-512)
@@ -109,7 +105,7 @@ extern Reflection *next_found_refl(Reflection *refl);
/* Get */
extern void get_detector_pos(const Reflection *refl, double *fs, double *ss);
-extern struct panel *get_panel(const Reflection *refl);
+extern int get_panel_number(const Reflection *refl);
extern double get_partiality(const Reflection *refl);
extern double get_khalf(const Reflection *refl);
extern double get_kpred(const Reflection *refl);
@@ -134,7 +130,7 @@ extern struct reflection_contributions *get_contributions(const Reflection *refl
/* Set */
extern void copy_data(Reflection *to, const Reflection *from);
extern void set_detector_pos(Reflection *refl, double fs, double ss);
-extern void set_panel(Reflection *refl, struct panel *p);
+extern void set_panel_number(Reflection *refl, int pn);
extern void set_kpred(Reflection *refl, double kpred);
extern void set_khalf(Reflection *refl, double khalf);
extern void set_exerr(Reflection *refl, double exerr);