diff options
author | Thomas White <taw@physics.org> | 2019-07-04 14:31:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-07-05 11:54:08 +0200 |
commit | d62367db8fee57c01a76543fafb84313329c3650 (patch) | |
tree | 6c196ed5bd6a5568dbb165901c582a9e7c7c2360 /libcrystfel/src/detector.h | |
parent | 9c97f8f5c0aacec6d4098f1bea89e8b08f7169fe (diff) |
Add get_detector_geometry_from_string()
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r-- | libcrystfel/src/detector.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h index 2abd928a..0b216715 100644 --- a/libcrystfel/src/detector.h +++ b/libcrystfel/src/detector.h @@ -272,7 +272,11 @@ extern struct detector *get_detector_geometry(const char *filename, extern struct detector *get_detector_geometry_2(const char *filename, struct beam_params *beam, - char **hdf5_peak_path); + char **hdf5_peak_path); + +extern struct detector *get_detector_geometry_from_string(const char *string, + struct beam_params *beam, + char **hdf5_peak_path); extern void free_detector_geometry(struct detector *det); |