aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-07-05 11:57:18 +0200
committerThomas White <taw@physics.org>2019-07-05 11:57:18 +0200
commit12c1d0dc970b0c199ba084f59954b85b8c5f7ffa (patch)
treef668da031c8c6753cafc19e31543259c9f1e3b87 /libcrystfel/src/detector.h
parent1327486d896abcf27df04c95613e49a0d113b79b (diff)
Add write_detector_geometry_3() (write geometry based on template in memory)
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r--libcrystfel/src/detector.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index 0b216715..6c2ffdf5 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -312,6 +312,12 @@ extern int write_detector_geometry_2(const char *geometry_filename,
const char *additional_comment,
int write_panel_coffset);
+extern int write_detector_geometry_3(const char *geometry_data,
+ const char *output_filename,
+ struct detector *det,
+ const char *additional_comment,
+ int write_panel_coffset);
+
extern int write_detector_geometry(const char *geometry_filename,
const char *output_filename,
struct detector *det);