aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-03-27 13:37:02 +0100
committerThomas White <taw@physics.org>2014-09-05 18:03:02 +0200
commitc4135f7e8655e28ae3132d50540267e8d2b0a5cf (patch)
tree7c9a5f4b1aef43616778447f00ce172613830648 /libcrystfel/src/detector.h
parentc194bf7746e3635571808856f29434499eec55b7 (diff)
Bugfixes to refactored hdf5 reading and writing functions
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index 6dc398d7..9245849f 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -87,7 +87,7 @@ struct panel
struct rigid_group *rigid_group; /* Rigid group */
double adu_per_eV; /* Number of ADU per eV */
double max_adu; /* Treat pixel as unreliable if higher than this */
- char *data_from;
+ char *data;
double fsx;
double fsy;
@@ -209,7 +209,8 @@ extern int write_detector_geometry(const char *filename, struct detector *det);
extern void mark_resolution_range_as_bad(struct image *image,
double min, double max);
-extern int single_source (struct detector *det, char *element);
+
+extern int single_panel_data_source (struct detector *det, const char *element);
#ifdef __cplusplus